A modern, responsive web application featuring a complete authentication system and a user dashboard. Built with Flask, SQLite, and Bootstrap 5, it includes secure session management, password hashing, native light/dark theme toggling, and is fully containerized for deployment.
The project is fully deployed on Render using Docker. You can test it live right now:
How to test:
- Go to the Create an account page.
- Create a new user with a password.
- Log in with your new credentials to explore the secure Dashboard.
The Docker image repositories can be pulled directly from Docker Hub:
👉 avotraader/login-flask on Docker Hub
Follow these exact steps to clone, configure, and execute this web interface locally on your machine.
Make sure you have Python 3.x installed on your system.
Navigate to your project directory inside your terminal:
# Clone the repository (if applicable) and navigate into it
# cd path/to/your/project
It is highly recommended to use a virtual environment:
# Create the virtual environment
python -m venv .venv
# Activate the environment (Linux/macOS)
source .venv/bin/activate
# (On Windows, use: .\.venv\Scripts\activate)
pip install -r requirements.txt
python app.py
The application will be accessible at http://localhost:5000.
If you prefer to run the application in an isolated container, follow these steps:
docker build -t mon-app-flask .
docker run -d -p 80:5000 --name flask-app-container mon-app-flask
*Open your browser and navigate to: http://localhost:80*
When you are finished, you can stop the running container with:
docker stop flask-app-container
app.py: Main backend logic, database initialization, and Flask routes.users.db: SQLite database (generated automatically upon first run).Dockerfile: Configuration for containerizing the application.requirements.txt: Python package dependencies.templates/: HTML views (login.html,register.html,dashboard.html) styled with Bootstrap 5.