Giter Site home page Giter Site logo

mansiagnihotrii / votr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danidee10/votr

0.0 0.0 0.0 13 MB

:star2: A polling application built with Flask and React

Home Page: https://danidee10.github.io/2016/09/18/flask-by-example-1.html

License: GNU General Public License v3.0

Python 44.89% CSS 6.32% JavaScript 30.28% HTML 17.80% Mako 0.70%

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

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.