A backend application using NodeJs framework and MySQL database.
- Node pack manager
- MySQL
- NodeJS
- Clone the project using https://github.com/ashoka-fall2020/webapp.git
- Go to project folder in terminal
- Login to MySQL database server and create a new database
- Create a
.env
file in the root of project and add the following keysDATABASE_HOST_NAME, DATABASE_USER_NAME, DATABASE_PASSWORD, DATABASE_NAME
- Go to project folder in terminal
- Run
npm install
- Run application using
node server.js
- To run tests use
npm run test