iammurali / flask-starter-mongodb

A simple flask starter kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Built using :

Flask : Python Based mini-Webframework
MongoDB : Database Server
Pymongo : Database Connector ( For creating connectiong between MongoDB and Flask )
HTML5 (jinja2) : For Form and Table

Set up environment for using this repo:

Install Python ( If you don't have already )
	`sudo apt-get install python`
	
Install MongoDB ( Make sure you install it properly )
	`sudo apt-get install -y mongodb-org`

Install Dependencies of the application (Flask, Bson and PyMongo)
	pip install -r requirements.txt

Run :

Run MongoDB
	1) Start MongoDB
		`sudo service mongod start`
	2) Stop MongoDB
		`sudo service mongod stop`

Run the Flask file(app.py)
	`python app.py`

Browse with any Browser to the following link and DONE !
	`http://localhost:5000'

About

A simple flask starter kit


Languages

Language:JavaScript 57.4%Language:Python 29.4%Language:HTML 10.7%Language:CSS 2.5%