Fix the API port conflict and improve docs (#3)

Co-authored-by: Alex Stan <alex.stan.2010@proton.me>
Co-committed-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
Alex Stan 2024-06-01 11:13:52 +03:00 committed by Alex Stan
parent 8281d66939
commit 819760817e

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