Projet crée dans le cadre du cours de Base de donnée (IFT2935) @ UdeM.
Make sure you have the following installed:
- Node.js (https://nodejs.org/)
- PostgreSQL driver (https://www.postgresql.org/)
Clone this repository to your local machine using the following command:
git clone https://github.com/svoglimacci/IFT2935-Project.git-
Install dependencies by running:
cd IFT2935-Project/server npm install -
Create a database by running:
psql -U %USERNAME%
CREATE DATABASE %DATABASE_NAME%;-
set your db config values in the
db.jsfile. -
Generate datas by running:
npm run seed
-
Run the server:
npm start
The server will start running on http://localhost:8080.
-
Install dependencies by running:
cd IFT2935-Project pnpm install -
Run the app:
npm run dev
The application will start running on http://localhost:3000.