Server just handle simple post and get requests. Nothing more.
Those instructions helps you to start your server.
Create .env file and enter this variables.
Env variable | Meaning |
---|---|
SEED_ACCOUNTS_AMOUNT | how much accounts will be generated by seed command |
First, you need to create some data to fetch it from the server. To do this just type in yout console this command:
npm run seed
every time when you need to clear db just stop server and run this command again
then you can run server by
npm start
Below you can look at full list of commands
Command | Meaning |
---|---|
npm start | launch test server |
npm run seed | launch seeding db |
- Max Abzaloff - my profile on github