Skip to content

This is a simple blog application built with Flask, where users can create, edit, and delete blog posts. It features user authentication for secure access, allowing users to register, log in, and manage their content. The app uses a lightweight SQLite database to store posts and user data, making it easy to set up and deploy.

License

Notifications You must be signed in to change notification settings

Aleavy/Flask_Web-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Auth.
  • CRUD operations.
  • Full responsivenes.
  • Security.
  • Form security enchanced.
  • Create, delete and update post.

Screens

Home

  • Here u see all the posts in a grid like view. alt text

Dashboard

  • U can view all the post u have.

  • Delete posts.

  • Go to the post selected.

  • Edit the post. alt text

  • Create a post. alt text

Create Post

  • When creating your post, u are seing how will be to your end reader, asuring expected final results. alt text

Post

  • View of the post alt text

Auth

  • Login alt text

  • Sign Up alt text

Instalation guide

Copy the repository:

git clone https://github.com/Aleavy/Flask_Web-Blog.git

Go to the folder where the repo was clone and install the requirementents:

pip install -r requirements.txt

Create two secret keys and saved them for later:

python -c 'import secrets; print(secrets.token_hex())'

make a .env file in the root level in the directory with:

SECRET_KEY = "First Secret KEY here"
STRIPE_API_KEY = 'Second Secret KEY here'
SQLALCHEMY_DATABASE_URI = "sqlite:///name_of_your_database.db"
ADMIN_EMAIL = "admin mail"
ADMIN_PASSWORD = "password here

#Optional If u want the page with preloaded posts for testing or for seing the aesthetic, if not just dont define it.
CREATE_TEST_POSTS = "TRUE"

Then finally, run the project:

python run.py

License

This project is under MIT license, more info in LICENSE.txt

About

This is a simple blog application built with Flask, where users can create, edit, and delete blog posts. It features user authentication for secure access, allowing users to register, log in, and manage their content. The app uses a lightweight SQLite database to store posts and user data, making it easy to set up and deploy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published