You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Pierre-Louis Guhur e968bfcfcb
fix: message ElectionStatus
7 months ago
components fix: clean up code 8 months ago
functions fix: add question email 1 year ago
pages fix: message ElectionStatus 7 months ago
public feat: display num voters/votes 10 months ago
services fix: grade colors 8 months ago
styles fix(style): remove bs-color-bg 8 months ago
tests fix: emailing 1 year ago
Makefile fix: license 1 year ago
i18n.config.js wip: params field 1 year ago
netlify.toml feat: sending mails works 1 year ago
next-env.d.ts feat: convert to typescript 1 year ago
next-i18next.config.js fix: minor texts & ui 1 year ago
next.config.js fix: ended election bug 1 year ago
package-lock.json fix: breaking change bootstrap 8 months ago
package.json fix: breaking change bootstrap 8 months ago
tsconfig.json fix: emails 1 year ago

Front-end election web application using NextJs

aGPLV3 Netlify Status Join the Discord chat at

🗳️ This project is going to be the default front-end for our election application.

💻 It is connected to our back-end. The back-end is used for storing the votes and computing the majority judgment ranking. You can use our back-end free of charge, but you can also start your own instance of the back-end using our Dockerfiles.

📨 The front-end is responsable for sending the invitation mails. You can find the mail templates on the functions folder.

🗺️ The front-end stores its own translations. See below how you can edit them easily.

🖌️ Customize your own application

The separation between the front-end and the back-end makes it easy to customize your own application. Just install

⚙️ Install options

Option one: One-click deploy

Deploy to Netlify

Option two: Manual clone

  1. Clone this repo: git clone
  2. Navigate to the directory and install dependencies: npm install or make
  3. Start a local server: npm run dev and open http://localhost:3000 with your browser to see the result.
  4. Make your changes
  5. Deploy your project.

We advise for deploying the project to Netlify, because we wrote the mail functions for the framework. Netlify parameters are written in netlify.toml.

If you decide to deploy your project in another way, please fill a pull-request to guide futur users!

📨 Support for mail

To add support for mail sending, you need to connect the application with a mailing service. For now, we only support Mailgun, which offer very competitive prices. You can fill an issue if you require another mailing service.

To connect your application with Mailgun, you need to add the environment variables to your project:


You can add the environment variables on an .env file or directly on Netlify.

🗺️ I18N at heart

You can directly modified the translation files in the folder public/locales.

In case you want to add support for another language, you need as well to add it on net-i18next.config.js and on the LanguageSelector component.