- Backend Technology: Node JS
- Framework: Express
- Database: MySQL
-
Clone this repository
$ git clone git@github.com:gamitd-fall2020/webapp.git
-
Navigate to webapp directory
$ cd webapp
-
Run command on terminal to install all the required dependencies
$ npm install
-
Create Enviornment File
$ export PORT={PORT_NUMBER} $ export DB_HOST={HOST_NAME} $ export DB_USER={DATABASE_USERNAME} $ export DB_PASSWORD={DATABASE_PWD} $ export DB_NAME={DATABASE_SCHEMA_NAME}
-
To start Application
$ npm start
-
Test api endpoint using Postman or other.
-
To run Test
$ npm run test