Giter Club home page Giter Club logo

dotnet-boiler-plate's Introduction

DotNet Boilerplate

A basic boilerplate with authentication**, services, repositories and models for DotNet Core 5.0

Table of Contents

Folder Structure

.
├── Controllers # API endpoints handlers
│   ├── < Endpoint >Controller.cs
│   ├── AuthenticationController.cs
│   └── UsersController.cs
├── DTOs # Data Transfer Objects for get data from body
│   ├── < Category >
│   │   └── < UseCase >DTO.cs
│   ├── Authentication
│   │   ├── LoginDTO.cs
│   │   └── SigninDTO.cs
│   └── User
│       ├── CreateUserDTO.cs
│       └── UpdateUserDTO.cs
├── DapperExample.csproj
├── DapperExample.csproj.user
├── LICENSE # Lic
├── Models
│   ├── < Entity >Model.cs
│   └── UserModel.cs
├── Program.cs # Projects start point
├── Properties
│   └── launchSettings.json
├── README.md
├── Services # Entity's business logic's
│   ├── < UseCase >Service.cs
│   ├── AuthenticationService.cs
│   ├── DatabaseService.cs
│   └── UserServices.cs
├── Startup.cs
├── appsettings.Development.json
├── appsettings.json
├── bin # Executables
└── obj # Compiled files

Go to table of contents

Commands

Install this project then run is as you want.

Install

Clone and move into this repository

git clone https://github.com/saracalihan/dotnet-boiler-plate.git
cd dotnet-boiler-plate 

Run

Run project with dotnet cli or use Visual Studio

dotnet run

Run for Development

DotNet CLI can track file or folders and if project has any changes it will hotreload the project

dotnet watch run

Publish

Build to generate executable and DLL's

dotnet publish

Go to table of contents

Contributing

If you want to contribute to the project, please first check if the work you are doing is already an issue. If there is an issue and there is someone assigned to the issue, contact that person. If there is no issue, you can send your development to the project managers by opening a pull request. Please read CONTRIBUTING.md

Go to table of contents

Contributors

Go to table of contents

LICENSE

GNU GENERAL PUBLIC LICENSE Version 3

Go to table of contents

dotnet-boiler-plate's People

Contributors

saracalihan avatar

Stargazers

Mete Uçar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.