Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.12 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.12 KB

BudgetBackEnd

This is the backend used in lessons Webservices.

Requirements

For users of Chocolatey:

choco install nodejs -y
choco install yarn -y
choco install mysql -y
choco install mysql.workbench -y

Before starting/testing this project

Create a .env (development) file with the following template.

NODE_ENV=development
DATABASE_USERNAME=root
DATABASE_PASSWORD=root

Start this project

  • Install all dependencies: yarn
  • Make sure a .env exists (see above)
  • Start the development server: yarn start

Test this project

  • Install all dependencies: yarn
  • Make sure a .env.test exists with NODE_ENV=test (see above)
  • Start the development server: yarn test