Fix the API port conflict and improve docs #3
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