https://github.com/evrendev/boilerplate
An implementation of clean architecture for ASP.NET Core 5 WebAPI.
https://github.com/evrendev/boilerplate
clean-architecture codefirst jwt-auth layered-architecture
Last synced: 10 months ago
JSON representation
An implementation of clean architecture for ASP.NET Core 5 WebAPI.
- Host: GitHub
- URL: https://github.com/evrendev/boilerplate
- Owner: evrendev
- License: mit
- Created: 2021-12-03T15:25:24.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-21T20:12:26.000Z (almost 4 years ago)
- Last Synced: 2024-11-25T15:53:13.953Z (about 1 year ago)
- Topics: clean-architecture, codefirst, jwt-auth, layered-architecture
- Language: C#
- Homepage:
- Size: 954 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Evren.dev Asp.Net Core Web Api
This repo is source of code for Asp.Net Core Web Api
## Installation
After cloning or downloading the repo you should configure database connection strings point to a local SQL Server instance from `Appsettings.json` on `PublicApi` folder.
You will need to run its Entity Framework Core migrations after configure database string. (see below).
* Ensure the tool EF was already installed.
```bash
dotnet ef database update -s ../PublicApi --verbose
```
## Running
Open a command prompt in the PublicApi folder and execute the following commands:
```bash
dotnet watch run
```
## Running the sample using Docker
You can run the PublicApi sample by running these commands from the root folder (where the .sln file is located):
```
docker-compose build
docker-compose up
```
## License
[MIT](https://choosealicense.com/licenses/mit/)