cs50x_Final_Project

CS50 Flask Blog

A private blogging application built with Flask. My final project for CS50’s Introduction to Computer Science 2024.

Demo

Watch it: https://youtu.be/oietie4MTpk

Description

CS50 Flask Blog is a blogging application designed for private use. Built with Flask and stylised with Bootstrap, CS50 Flask Blog allows users to write and store posts on a local machine.

Features

Dependencies

Running Locally

Requires Python to be installed first.

  1. Clone this repository locally
     git clone https://github.com/MainakSil/cs50x_Final_Project.git
     cd cs50x_Final_Project
    
  2. Create Python virtual environment
     python -m venv venv
    
  3. Activate Python virtual environment

    Windows:

     .\venv\Scripts\activate
    

    Mac/Linux:

     source venv/bin/activate
    
  4. Install dependencies
     pip install -r requirements.txt
    
  5. Run the project
     flask --app blog run
    

Project Files

CS50 Flask Blog is built by utilising Flask Blueprints to make the application scalable and easy to maintain. The application files are stored in the main app folder blog/.

The root folder of CS50 Flask Blog contains requirements.txt, a list of dependency packages of the project.

The blog/ folder contains the following Python files for the Flask application:

In addition, the blog/ folder contins the following subfolders:

References

Author : MAINAK SIL.

CITY: CHUNCURA, W-B, INDIA

GITHUB USERNAME:- MainakSil

EDX USERNAME:- Mainak_Sil

DATE: 24th MAY 2024.