Giter Club home page Giter Club logo

votr's Introduction

Votr

Repository for my tutorial on How to build an online voting application with Flask and React

The Live Demo is available on heroku

NOTE: This branch contains code for the tutorial on my blog, For the latest state of this project, checkout the master branch

Table of content

  • Part 1 - Introduction and installation
  • Part 2 - Design and manipulate the database with SQLAlchemy
  • Part 3 - Templating, authentication and static assets
  • Part 4 - Building an interactive UI with ReactJS
  • Part 5 - How to build a simple REST API with Flask
  • Part 6 - Connecting React to a REST API
  • Part 7 - Spin up an Admin dashboard quickly and easily with Flask-Admin
  • Part 8 - Understanding Flask blueprints
  • Part 9 - Running background tasks with celery
  • Part 10 - Testing the application

The table of contents lists the main topic of focus in each part, but each article also covers other topics

Votr in action

create a poll

votr

Installation

https://github.com/danidee10/Votr.git

Install requirements

pip install -r requirements.txt

set the FLASK_APP and FLASK_DEBUG variables

export FLASK_APP=votr.py
export FLASK_DEBUG=1

Finally run it with:

flask run

votr's People

Contributors

danidee10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

votr's Issues

code base for app is not working

after installing all packages and getting the app to run and main web page to load. I tried to create a new user account but app crashed. It appears the user authentication is different than what was discussed in the tutorial. if at all possible, it would be good to provide a clean and working baseline that matches the tutorial. A subsequent version (in a different repo or folder) could be provided with additional features and improvements.

as a side comment tutorial is very useful and provides excellent content for learning.

thank-you,
-jainraje

The idea of the app is cool but.....

The code is ridiculously messy with unnecessary functions etc. plus when I tried to follow your tutorial you haven't even linked the next part of the tutorial so I don't know how anyone else has followed along TBH!

It would seem you don't actually know how to create flask apps properly.

I will just re-code from scratch ... thanks but no thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.