Skip to content

A very simple beginner-friendly pet project with role-based and JWT authentication, organizations, many CRUD operations and file uploads written in C# ASP.NET Core Web API.

Notifications You must be signed in to change notification settings

AlbertArakelyan/NeuroGridBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

73 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›° NeuroGrid

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).

πŸ›  Tech Stack

C# MS SQL .NET .NET Core

▢️ Installation and Running

  1. Clone the repository:
  git clone https://github.com/AlbertArakelyan/NeuroGridBackend
  1. Navigate to the project directory:
  cd NeuroGridBackend

3. Restore the NuGet packages (install dependencies):

  dotnet restore
  1. Update the connection string in appsettings.json to point to your SQL Server database.
  2. Run the database migrations to create the necessary tables:
  dotnet ef database update
  1. Start the application:
  dotnet run

Or 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

πŸ“š What you will learn?

  • 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.

πŸ‘¨πŸ»β€πŸ’» System Design

System Design


Made with ❀️ by Albert Arakelyan
https://www.albertarakelyan.com

About

A very simple beginner-friendly pet project with role-based and JWT authentication, organizations, many CRUD operations and file uploads written in C# ASP.NET Core Web API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages