Skip to content

JibrilExe/voting

Repository files navigation

Information security

Proof of concept of how online voting could happen secure.

Front

npm install
npm run dev

*if needed:

npm install @emotion/styled @emotion/react

Back

Best to make a venv

pip install -r backend\requirements.txt

To run back:

python -m backend

make a .env file in root of project with following:

POSTGRES_DB='name_of_db'
POSTGRES_USER='postgres'
POSTGRES_PASSWORD='your_pass'
POSTGRES_HOST='localhost' #addres on which you run psql

Make sure that there is correct back URL in Login.tsx.

Bugs

  1. Right now after successful login it falls back to url/? instead of staying at url/vote
  2. Shows errors in VoterView but it still works

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors