Fix the API port conflict and improve docs

Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
Alex Stan 2024-06-01 11:13:33 +03:00
parent 8281d66939
commit 1292b048d1

View file

@ -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`
# Example:
`http://localhost:3000/questions/1`