From 1292b048d192b887606089a6bd724f6a87d206fe Mon Sep 17 00:00:00 2001 From: Alex Stan Date: Sat, 1 Jun 2024 11:13:33 +0300 Subject: [PATCH] Fix the API port conflict and improve docs Signed-off-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`