Skip to content

.NET6.0 Webapp for storing, adding and managing culinary recipes

Notifications You must be signed in to change notification settings

net-runner/recipelib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RecipeLib

.NET6.0 Webapp for storing, adding and managing culinary recipes

 

Features

  • Cookie authorization and authentication
  • SqlDb or mssqllocaldb
  • Responsive design

Database connection

Connection string location AppDbContext.cs

For custom database connection edit one following strings and recompile the app.

string localConnection
string sqlConnection

...

optionsBuilder.UseSqlServer(localConnection);

Default accounts

Password for any default user

password: zaq1@WSX

Administrator account (same password as default)

username: Adam

 

API Reference

Get all recipes items

  GET /api/

Get specific recipe by id

  GET /api/${id}

Get recipes by CategoryId

  GET /api/category/${id}

Get recipes by AuthorId

  GET /api/author/${id}

 

Run Locally

Clone the project

  git clone https://github.com/net-runner/recipelib

Go to the project directory or test directory

  cd RecipeLib.App 

Install dependencies

  dotnet build

Update database

  dotnet ef database update

Start the server

  dotnet run or dotnet watch

 

Screenshots

Home page

Home page filtered

Recipe details

User list

About

.NET6.0 Webapp for storing, adding and managing culinary recipes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published