Skip to content

bharath113/Database-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Database-Project

Database Lab course project

About Flask:

  • Flask is a micro web framework written in Python and based on the Werkzeug toolkit and Jinja2 template engine.
  • Flask is called a micro framework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions. However, Flask supports extensions that can add application features as if they were implemented in Flask itself. Extensions exist for object-relational mappers, form validation, upload handling, various open authentication technologies and several common framework related tools. Extensions are updated far more regularly than the core Flask program.

This project is done in python and mysql. Used flask framework to connect the database and the html.

Languages Used

Backend - Python, Mysql

Frontend - Html, CSS

Softwares used

Anaconda Navigator - Helps to create the environment required

Xampp - To create local mysql database

Installing the software

In anaconda navigator select environments create a new environment install pip, flask, flask-login,flask-wtf, wtforms, mysql-connector-python, mysql-python.

Download Xampp and install.

How to use

  • Start the environment in the cmd (should be selected from anaconda naviagtor, you can press the play button beside the environment name) by typing activate your_environment_name.
  • Open Xampp and start the mysql server.
  • Do to the directry where app.py is, then type python app.py.

Note: If you try to run this project make sure to import the database which was uploaded.

References

For flask:

[1] http://flask.pocoo.org/

You can refer youtube videos for learning how to use flask.

About

Lab project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •