Skip to content

Latest commit

 

History

History
82 lines (40 loc) · 1.57 KB

README.md

File metadata and controls

82 lines (40 loc) · 1.57 KB

CRUD application(blog website) using Flask and MySQL.

This is a blog website. It is basically a backend intended project that I worked on to get my hands dirty with backend technologies.

I have used a microframework named flask in my project.

Demo

https://my-code-blogg.herokuapp.com/

Features

  • Admin login/logout
  • All the CRUD operations can be done by the admin.
  • Anyone can contact using contact form

Tech used

Language: Python

Frontend: Bootstrap

Backend Framework: Flask

Database: SQL database

Run Locally

Make an empty directory, open terminal in it and run the following commands.

Clone the project

  git clone https://github.com/anipnwr7777/my_blog.git

Install all the dependencies

  pip install -r requirements.txt

Open Xampp as localhost and make a new database named codethunder with two tables named contacts ans posts. Replicate them as shown in the screenshots.

contacts: image

posts: image

Open config.json and modify: // "local_uri" : "mysql+pymysql://root:@localhost/codethunder"

Run the file main.py

  python main.py

Go to your browser and type http://127.0.0.1:5000/ in the address bar.

Hurray!! you are all set.

Deployment

This project is deployed on Heroku server with the database on freesqldatabase.

Contributing

Contributions are always welcome!