This project is a tutorial on how to create a full stack web application using Python Flask, MongoDB, and Flask-Login. It aims to provide step-by-step instructions and code examples to help you understand the process of building a web app from scratch.
In this tutorial, we will guide you through the process of building a full stack web application using Python Flask as the backend framework, MongoDB as the database, and Flask-Login for user authentication. We will cover the following topics:
- Setting up the development environment
- Creating a Flask application
- Designing the database schema
- Implementing user authentication with Flask-Login
- Building the frontend using Jinja2 Templating System (HTML), CSS, and JavaScript
- Deploying the application to a hosting platform
- https://dev.to/cre8stevedev/building-a-full-stack-web-application-using-flask-python-web-framework-part-one-5b1i
- https://dev.to/cre8stevedev/building-a-full-stack-web-application-using-flask-python-web-framework-part-two-1fc3
- User registration and login
- Secure password hashing
- User session management
- CRUD operations on data
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/your-repo.git
- Install the required dependencies:
pip install -r requirements.txt
- Configure the database connection in
config.py
- Run the application:
python app.py
- Open your web browser and visit
http://localhost:5100
Once the application is up and running, you can perform the following actions:
- Register a new user account
- Log in with your credentials
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.
This project is licensed under the MIT License.