Skip to content

Creating a website using HTML, CSS, Jinja, Javascript, a SQL database and Flask (Python).

Notifications You must be signed in to change notification settings

mariamagro/Flask_Web_Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Website Project

In collaboration with Gabriela Marín Martín.

Final project of the subject Web Applications

Grade: 10/10

Overview

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.

Features

  • 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.

Project Structure

├── 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

Installation and Setup

This project cannot be re-run because the access to the required KEYS and URIs has expired.

About

Creating a website using HTML, CSS, Jinja, Javascript, a SQL database and Flask (Python).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published