Code Monkey home page Code Monkey logo

flask_registration_with_blog's Introduction

Flask Registration with Blog

Author: Nino Ross

Description

This Flask application serves as a registration system with an integrated blog feature. The application uses Flask as the web framework, Flask-Login for user authentication, and Flask-SQLAlchemy for database management.

Features

User Registration and Login: Users can register for an account and log in securely.

Integrated Blog: The application includes a blog feature where registered users can create, edit, and delete blog posts.

Setup

1.Environment Setup:

Create a virtual environment and activate it.

Install dependencies using pip install -r requirements.txt.

2.Database Initialization:

The application uses an SQLite database. Run the following commands to initialize the database:

bash

Copy code

flask db init

flask db migrate

flask db upgrade

3.Run the Application:

Execute the Flask application with python app.py.

4.Access the Application:

Open a web browser and go to http://localhost:5000/ to access the application.

Configuration

The application uses a SQLite database named users.db.

The SECRET_KEY is set to "helloworld" for securing session cookies.

Dependencies

SQLAlchemy==2.0.5.post1

flask_sqlalchemy==3.0.3

greenlet==2.0.2

flask_login==0.6.2

bcrypt==4.0.1

flask_bcrypt==1.0.1

editted Screenshot 2024-02-05 043747 Screenshot 2024-02-05 043734 Screenshot 2024-02-05 043014 Screenshot 2024-02-05 043003 Screenshot 2024-02-05 042950 Screenshot 2024-02-05 042910 Screenshot 2024-02-05 043028

flask_registration_with_blog's People

Contributors

chibdibs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.