EpiTrello is a web application that allows users to manage their tasks in a board. It was developed as a project to simulate professionnal work for EPITECH.
The server is a REST API developed with Node.js and Express. It uses a PostgreSQL database to store the data.
The client is a web application developed with React.
- Node.js
- PostgreSQL
- Docker (optional)
You must have multiples environment variables set in a .env file at the root of the project:
POSTGRES_DB=your_database
POSTGRES_USER=your_user
POSTGRES_PASSWORD=your_password
POSTGRES_HOST=your_host
POSTGRES_PORT=your_postgres_port
CLIENT_PORT=yout_client_port
SERVER_PORT=your_server_port
In the client directory, you must have a .env file with the following content:
VITE_API_URL=the_url_of_your_server
PORT=your_client_port
<!-- secrets vars -->
REACT_APP_GOOGLE_CLIENT_ID=the_google_client_id
REACT_APP_GOOGLE_CLIENT_SECRET=the_google_client_secretIn the server directory, you must have a .env file with the following content:
SERVER_PORT=your_server_port
POSTGRES_DB=your_database
POSTGRES_USER=your_user
POSTGRES_PASSWORD=your_password
POSTGRES_HOST=your_host
POSTGRES_PORT=your_postgres_port
JWT_SECRET=the_jwt_secret
EMAIL_USER=epitrello.no.reply@gmail.com
EMAIL_PASSWORD=the_email_passwordTo launch the full application, you must run the following commands:
docker-compose upIf you want to run the server and the client separately, you can run the following commands:
cd server
npm install
npm startcd client
npm install
npm startIf launched without docker-compose, you will have to create the postgres database by yourself.