From 819760817e4cf2cc6dc906b781b694158e73009a Mon Sep 17 00:00:00 2001 From: Alex Stan Date: Sat, 1 Jun 2024 11:13:52 +0300 Subject: [PATCH] Fix the API port conflict and improve docs (#3) Co-authored-by: Alex Stan Co-committed-by: Alex Stan --- api/apiserverstart.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/api/apiserverstart.md b/api/apiserverstart.md index 1458dc1..dad4145 100644 --- a/api/apiserverstart.md +++ b/api/apiserverstart.md @@ -1,3 +1,6 @@ -`json-server db.json` +# Start the server: +`json-server db.json -p 4000` +# Question endpoint: `http://localhost:3000/questions` -`http://localhost:3000/questions/1` \ No newline at end of file +# Example: +`http://localhost:3000/questions/1`