Skip to content

garyjellyarms/SPV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food Grindr - API

A REST application interface for the web & mobile application by the name of Food Grindr. An API for authentication, sending and receiving application data and managing the work with the database. It is using the Microsoft .NET 6 framework, .NET Entity Core, Entity framework as a temporary database with later plans to implement the api to a MySQL database.

Food Grindr Landing

Set Up

Entity Framework set up

After downloading the repository into visual studio you will have to change the db configuration string to your local db

Inside appsettings.json you can find the connections string object

image

Change the DefaultConnection property to the connection string of your db.

Inside Visual Studio you can find it at

image

Click sql Server Object Explorer

image

Click properties

image

here you will see your default sql server instance

Inside Package manager console use :

cd .\SPV (make sure that you are in the correct folder)

dotnet tool install --global dotnet-ef --version 6.*

dotnet ef migrations add secondarymigration

dotnet ef database update

In this order so you can deploy the db

The Database can be found at Sql server explorer under localdb/database/master/tables

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published