Northwind Traders is a sample application built using .NET Core 3.1 and Entity Framework Core 3.1.
Use these instructions to get the project up and running.
You will need the following tools:
- Visual Studio Code or Visual Studio 2019 (version 16.3 or later)
- .NET Core SDK 3.1
- MySQL Community 8.0
- Postman(For integration testing the controller methods & testing the endpoints)
- OPTIONAL: Docker(If you want to run MySQL on a container instead of installing it on your machine)
Follow these steps to get your development environment set up:
- Clone the repository
- Open the solution in Visual Studio 2019
- Start MySQL
- Right-click the solution -> Set Startup Projects -> Multiple Startup Projects -> IDP & RESTFestival.API -> Start
- Start the projects
- Open Postman -> Import -> File -> Import the file & the environment variables in https://github.com/RotterAxel/RESTFestivals/tree/master/Postman
- In Postman you will have to run the Authorization endpoints first. This will automatically store the bearer token in the collection variables.
- OPTIONAL: Use the docker-compose file to start an instance of MySQL https://github.com/RotterAxel/RESTFestivals/tree/master/Scripts
- The DB Migrates and Reseeds itself with every new start of the project
- The Postman collection includes example tests to better understand and test the endpoints
- .NET Core 3.1
- Entity Framework Core 3.1
This project is licensed under the GNU General Public License v3.0 License - see the LICENSE.md file for details.