Skip to content

A CRUD application built in .Net Core Framework. This project is a result after following a .Net course from Udemy: https://www.udemy.com/course/net-core-microservices-the-complete-guide-net-6-mvc

Notifications You must be signed in to change notification settings

mperezy/dotnet-mastery-mango-restaurant

Repository files navigation

.NET Master Mango Restaurant

This repo contains the whole project written step by step following the Udemy course .NET Core Microservices - The Complete Guide (.NET 6 MVC) and was built using docker and docker-compose.


Requirements

  • .NET Framework 6.0 (just for syntax in code editor)
  • Have docker and docker-compose installed (Linux/macOS)
  • Visual Studio, Visual Code or Rider/DataGrip (these last from JetBrains, needs a subscription to use)

Environment variables

  • Copy the file .env.example with .env name, and replace the inside values with the required environment values.

How to run

  • Only need to pull this repo and run the next to get all the container up and running:
$ docker-compose up

Execute commands

  • If we want to make migrations or some commands inside on some container, you should run:
$ docker exec -it conainer_name bash
root@product-api:/src dotnet ef database update
Build started...
Build succeeded.
Done.

root@product-api:/src dotnet ef migrations add SeedProducts
Build started...
Build succeeded.
Done. To undo this action, use 'ef migrations remove'

Have fun !

About

A CRUD application built in .Net Core Framework. This project is a result after following a .Net course from Udemy: https://www.udemy.com/course/net-core-microservices-the-complete-guide-net-6-mvc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published