/OVS-fastapi

Primary LanguageJavaScript

Online Voting System

A concept website created using ReactJS as the frontend, FastAPI as the backend and MongoDB as the database.

Instructions to run -

  1. Install Python with FastAPI, uvicorn, PyMongo, dnspython and PyJWT modules by running the following command in the terminal.
pip install fastapi uvicorn pymongo dnspython pyjwt
  1. Run the following command in a terminal when inside the backend folder to run the server.
uvicorn main:app --reload
  1. Install NodeJS and npm to run the frontend.
  2. Run the following commands in a terminal when inside the frontend folder to run the frontend.
npm install
npm start