Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.34 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.34 KB

regMan Build Status codecov

CRM to manage registrations to summer camps

Setup

2 separate installations are required: one for the backend and one for the frontend.

Backend

Install Postgres and have it running in the default port. Go to the /server and run:

  • npm i
  • npm run dbcreate -> creates the DB in Postgres
  • npm run dbinit -> creates the tables inside the created DB
  • npm run dbseed -> seeds initial Data into the tables

Frontend

Go to the client and run npm i.

After this, run npm start in both the client and the server. The client uses CRACO to handle internal paths for the components. If you don't start the project with npm start, it won't work. In each folder you'll find a copy of the .env file with some mock data.

In the .env.copy of the server, you'll find the JWT details for the auth0. Since they're for a mock program, feel free to use them. It might make things easier for you :)

Same with the .env file of the client.

Thanks for picking up this project!! I'm really happy ^_^

Code coverage

Code coverage