Skip to content

About

Academic project consisting in building a recipes web app.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Recipe Web App

A web application built with the ASP.NET framework, featuring functionalities for recipe search, user authentication, recipe creation and editing, and more. This project interacts with a MS SQL database using ADO.NET.

Technologies Used

  • Framework: ASP.NET
  • Programming Language: C#
  • Styling: Bootstrap
  • Database Interaction: ADO.NET
  • Database: MS SQL
  • Frontend: Razor Pages

Features

User Features

  1. Login:

Allows users to log in using their email and password, validating the credentials through service and repository layers and comparing them with the database stored data. If correct, the user is redirected to the homepage. When registering the user is redirected to their account page.

  1. Recipe Search:

Users can search for recipes based on keywords.

  1. Recipe Creation and Editing:

Users can create new recipes or edit existing ones, adding ingredients and cooking instructions.

  1. Comment and Rating:

Users can comment on and rate recipes.

  1. Recipe Favoriting:

Users can favorite recipes for quick access later.


Admin Features

  1. User Management:

Admins can manage users, including blocking, unblocking, and deleting user accounts.

  1. Recipe Management:

Admins can review, approve, or delete recipes. All recipe must be admin approved after creation or editing.

  1. Comment Management:

Admins can manage all comments in the recipes.

  1. Ingredient Management:

Admins can manage the products and units database.

Installation

  1. Clone the repository https://github.com/vascomfduarte/RecipesProject.git. I recomend to clone it directly from Visual Studio.

  2. Install MS SQL Server Management Studio.

  3. Run RecipesProject/DB/RecipesProject.sql query for database installation. On the code below make sure so change path "A:\Programas\MSSQL16.MSSQLSERVER\MSSQL\DATA" to you local DATA folder.

( NAME = N'JD_FC_VD_RecipesProject', FILENAME = N'A:\Programas\MSSQL16.MSSQLSERVER\MSSQL\DATA\JD_FC_VD_RecipesProject.mdf' , SIZE = 8192KB , MAXSIZE = UNLIMITED, FILEGROWTH = 65536KB )
 LOG ON
( NAME = N'JD_FC_VD_RecipesProject_log', FILENAME = N'A:\Programas\MSSQL16.MSSQLSERVER\MSSQL\DATA\JD_FC_VD_RecipesProject_log.ldf' , SIZE = 8192KB , MAXSIZE = 2048GB , FILEGROWTH = 65536KB )
 WITH CATALOG_COLLATION = DATABASE_DEFAULT, LEDGER = OFF
  1. Run the code.

  2. Open your browser and go to https://localhost:7219.

  3. After that, explore the various features like searching for recipes, creating new ones, and more.

Contact

If you have any questions or suggestions, please contact me at vasco.mfd@gmail.com.

Links

LinkedIn: https://www.linkedin.com/in/vascoduarte/

About

Academic project consisting in building a recipes web app.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages