This project is a recipe website built using HTML, CSS, Jinja, Javascript, a SQL database, and Flask (Python). The website allows users to create accounts, log in, and perform various interactions with recipes. Users can search for recipes, like, comment on them, save them to their profile, and view similar recipes. Additionally, the project implements security measures to protect against attacks such as SQL injection and handles user session management via cookies.
-
User Authentication:
- User registration and login functionality.
- Secure session management using cookies.
-
Recipe Management:
- Search for recipes through a search bar.
- View recipe details, including similar recipes.
- Save, like, and comment on recipes.
-
Security:
- Protection against SQL injection.
- Secure session cookies.
├── static/ # Static files (CSS, JavaScript, images)
├── templates/ # HTML templates for rendering pages with Jinja
├── init.py # Initialize the Flask app
├── auth.py # Authentication routes and logic
├── main.py # Main routes and logic for handling recipes
├── model.py # Database models
└── project.db # SQLite database file
This project cannot be re-run because the access to the required KEYS and URIs has expired.