This project is a voting platform for "Le Classement des Associations".
All the participating associations are present with the different reports they could provide us. Anyone can come and vote with an email address and the two associations with the most votes go directly to the final.
Client: TailwindCSS, Alpine.js, Unpoly.js
Server: AdonisJS
Clone the project
git clone https://github.com/Barbapapazes/vote.le-classement.fr
Go to the project directory
cd vote.le-classement.fr
Install dependencies
npm ci
Start the server in development mode
npm run dev
To be sure everything is working fine, you must also have a running PostgreSQL with a database for this project.
To run this project, you will need to copy .env.example
to .env
and fill every lines.
For the mail service, you can choose a local MailHog, any mailing service with SMTP or SES.
The env ENABLE_VOTE
can be set to true
or false
to enable or disable the voting feature, useful to start and stop easily the voting process.
To deploy this project run
# Build server
npm run build
cd build
npm ci --production
# Start server
node server.js
You can learn more about deployment in documentation!