/webapp

Primary LanguageJavaScript

WEB APPLICATION

Project Description:

A backend application using NodeJs framework and MySQL database.

Requirement

  • Node pack manager
  • MySQL
  • NodeJS

Project Set Up

  1. Clone the project using https://github.com/ashoka-fall2020/webapp.git
  2. Go to project folder in terminal
  3. Login to MySQL database server and create a new database
  4. Create a .env file in the root of project and add the following keys DATABASE_HOST_NAME, DATABASE_USER_NAME, DATABASE_PASSWORD, DATABASE_NAME

Build and Deployment

  1. Go to project folder in terminal
  2. Run npm install
  3. Run application using node server.js

Tests

  1. To run tests use npm run test