An online calendar for reserving times for school flights at airports. Project made during the University of Helsinki course "Software Engineering Lab" for Fintraffic Lennonvarmistus
- Install packages
npm install
- Add the following line to the .env file in project root for local development:
DATABASE_URL=postgres://postgres:postgres@localhost:5432/postgres
- Start the development database with the following command:
npm run start:database
- Start client and server
npm start
- Client and server can be run separately
npm run start:backend
npm run start:frontend
- Client and server can be built with
npm run build
This project uses ESLint to maintain code quality and keep the code style consistent to the Airbnb JavaScript style guide.
You can find any errors with the following command:
npm run lint
Or try to automatically fix them:
npm run lint -- --fix
This project also uses Jest for automatic unit tests. You can run them with the following command:
npm test