morriswong / python-flask-todo-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Flask todo app (with MongoDB)

This is an example of implementing a simple todo app as a sample of how to implement CRUD in flask with MongoDB.

Feel free to git clone the repo and try it out in your local machine!


Basic Setup

Virtualenv

Start virtualenv environment before running the server.py

source bin/activate

MongoDB

You would also need to setup a local MongoDB server for the data transaction Installing MongoDB for Mac users

A MongoDb client like Robo 3T would be very helpful too About Robo 3T


How to try it out

Simply start the server

python server.py

And the home page of the demo would be at:

http://localhost:5000/home

About


Languages

Language:Python 99.4%Language:CSS 0.1%Language:JavaScript 0.1%Language:C 0.1%Language:HTML 0.1%Language:Shell 0.1%