Skip to content

vinaynvd/pizzaVsburger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

pizzaVsburger

Description

This project is a real-time polling website, built with Python's FastApi, Websockets, PyMongo & HTML Javascript.

In this project, we can vote for pizza or burger & those votes will be stored in MongoDB.

Votes will be viewed in the html page by using ( Chart.js ).

Chart.js is an awesome javascript library, which provides simple, flexible javascript charts for website.

Setup

Steps to clone this project in your local.

  1. Clone this project.

  2. go to pizzaVsburger directory & create virtual environement.

  3. Copy files from backend directory & paste it in your virtual environment.

Installing dependencies

  1. Install Mongodb in your local. To visualize your data in MongoDB, I recommend use MongoDB Compass.

  2. Install all the python requirements from requirements.txt file

Running in your local

After installing all the required dependencies, run the following command in your virtual environment.

uvicorn application:app --reload

This project is going to run on the default port 8000. Hit the http://localhost:8000 in browser & you'll see this output 😀

Pizza vs Burger Polling site

How I build this project, & all it's details can be found in my medium article. It had more information than this readme file

Here's the link to my Medium Article

If you found this project useful, please please buy me a Coffee by clicking the below image 🙂

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published