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:
parent
8281d66939
commit
819760817e
1 changed files with 5 additions and 2 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue