An app for you to manage yours applications to job offers!
- Node.js
- Typescript
- JWT
- PostgreSQL
- Prisma
- Jest
- Supertest
Make sure you have the latest stable version of Node.js and npm running locally.
First, clone this repository:
git clone https://github.com/barbararech/punching-in-back
Inside the folder, run the following command to install the dependencies.
npm install
Run the following command to install the dev dependencies.
npm install dotenv-cli jest prisma supertest ts-jest ts-node typescrypt nodemon eslint @faker-js/faker @types/bcrypt @types/cors @types/dotenv @types/express @types/jest @types/joi @types/node @types/supertest -D
Create database
npx prisma migrate dev
Then, run
npm start
to open the project on localhost in your browser.
Inside the back-end folder, run the following command to start the tests.
npm run test:integration
Inside the back-end folder, run the following command to start the tests.
npm run test:unit
🛑 Don't forget to set the environment variables!