npm install
Need Docker Community Edition installed: `docker-compose up`
npm run start
assuming all csv files are located uneder ./resources
Load default set of cars into database
npm run load-csv <filename>.csv
Run Lint
npm run lint
npm run lint-fix
Import Postman collection IParkMini.postman_collection.json
TODO:
- Improve redis setup
- Integrate socket.io with api implementation
- Add user interface to check and load parking lots
implement Story 3 As a user I want to get a list of all the money I'm making
GET /inventory/$(T)
should give me the total inventory of all the parking lots. example output:
`{
"totalAmountOfCars": 6,
"value": 14.70,
"discountInCents": 50
}