This repository was archived by the owner on Oct 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ npm run start:dev
6060```
6161
6262This way the server uses ` nodemon ` to restart itself on changes.
63- This way you don’t have to restart the server in case you changed an endpoint.
6463
6564
6665### Later (eg. for tests in CI)
@@ -69,10 +68,9 @@ This way you don’t have to restart the server in case you changed an endpoint.
6968npm start
7069```
7170
72- Just starts the server via node.
73- This one comes is without any magic (eg. ` foreverjs ` )
71+ Just starts the server via node.
7472
75- ## Configuring endpoints
73+ ## Configure endpoints
7674
7775Each endpoint needs a configuration file in ` /server/api/ ` to define routes, http method and the response.
7876
@@ -238,7 +236,7 @@ The configuration object in Detail:
238236 * Optional
239237 * Every subroute of this endpoint will return a HTTP error with the given status code provided by [ boom] ( https://github.com/hapijs/boom ) .
240238
241- ## Configuration
239+ ## Configure server
242240
243241The main config is handled via a file named ` .env ` with the following content:
244242
You can’t perform that action at this time.
0 commit comments