A very simple beginner-friendly pet project written in C# ASP.NET Core Web API.
The project is a RESTful API that allows users to create, read, update, and delete (CRUD) data. It is designed to be a starting point for beginners who want to learn about ASP.NET Core Web API development.
Besides CRUD the app has role based authentication in science field (Commander, Scientist, Engineer, Analyst) and JWT authentication.
The application also handles file uploads and image processing.
In the app there are organizations with users, and each organization has its own data (but not multitenant DB).
- Clone the repository:
git clone https://github.com/AlbertArakelyan/NeuroGridBackend- Navigate to the project directory:
cd NeuroGridBackend3. Restore the NuGet packages (install dependencies):
dotnet restore- Update the connection string in
appsettings.jsonto point to your SQL Server database. - Run the database migrations to create the necessary tables:
dotnet ef database update- Start the application:
dotnet runOr just simply run from your IDE (e.g. Visual Studio)
βοΈ The development server starts on http://localhost:xxxx
*Note: If Entity Framework is not installed globally, then install it with the following command
dotnet tool install --global dotnet-ef* You can open Swagger documentation at http://localhost:xxxx/swagger/index.html
- How to create a simple RESTful API using ASP.NET Core Web API.
- How to implement role-based authentication and JWT authentication.
- How to handle file uploads and image processing in ASP.NET Core.
- How to work with Entity Framework Core for database operations.
- How to structure a simple ASP.NET Core Web API project.
- How to use Swagger for API documentation and testing.
- How to implement basic CRUD operations in a web API.
- How to manage user roles and permissions in a web application.
- How to create a simple organization structure with users and data.
Made with β€οΈ by Albert Arakelyan
https://www.albertarakelyan.com