Battery Swap is a system that allows Ampersand to know which battery was used by which driver at which station.
- Fork this code repository
- Clone the project to your local machine
- Open the project in your preferred editor
- Add .env file under the common directory and add a http port number available on your local machine to a variable named port
- Setup a local MongoDB instance on your local machine and create a database named: batteryswap
- Run the application locally using the command:
npm run start
- Run the tests using the command:
npm test