Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markylaredo/aspnet-core-minimal-api
Aspnet Core minimal API with basic authentication and authorization setup. http://minimal-api-demo.somee.com/
https://github.com/markylaredo/aspnet-core-minimal-api
api authentication authorization demo-minamal dotnetcore6-minmal-api jwt jwt-authentication minamal-api-net-core-6 minimal minimal-api swagger
Last synced: about 2 months ago
JSON representation
Aspnet Core minimal API with basic authentication and authorization setup. http://minimal-api-demo.somee.com/
- Host: GitHub
- URL: https://github.com/markylaredo/aspnet-core-minimal-api
- Owner: markylaredo
- Created: 2022-07-30T02:50:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-01T18:07:34.000Z (about 1 year ago)
- Last Synced: 2023-11-02T18:25:05.347Z (about 1 year ago)
- Topics: api, authentication, authorization, demo-minamal, dotnetcore6-minmal-api, jwt, jwt-authentication, minamal-api-net-core-6, minimal, minimal-api, swagger
- Language: C#
- Homepage: http://minimal-api-demo.somee.com/
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ASP Net Core 6 Minimal API
[![Deploy to Hosting Site](https://github.com/markylaredo/aspnet-core-minimal-api/actions/workflows/somee-ftp-deploy.yml/badge.svg?branch=master)](https://github.com/markylaredo/aspnet-core-minimal-api/actions/workflows/somee-ftp-deploy.yml)
# Features
- Lightweight and fast API implementation using ASP.NET Core 6 Minimal API.
- Interact with student data, including retrieval, creation, update, and deletion of student records.
- Supports CRUD operations (Create, Read, Update, Delete) for student records.
- Uses JSON format for data exchange.
- Simple and intuitive endpoint structure for easy integration and usage.# API Endpoint
This API endpoint allows you to interact with student data, including retrieving, creating, updating, and deleting student records.## Request
### HTTP Method
- GET: Retrieve a list of all students
- POST: Create a new student record
- PUT: Update an existing student record
- DELETE: Delete a student record### Request URL
- GET: `http://minimal-api-demo.somee.com/students`
- POST: `http://minimal-api-demo.somee.com/students`
- PUT: `http://minimal-api-demo.somee.com/students/{id}`
- DELETE: `http://minimal-api-demo.somee.com/students/{id}`### Request Body
- POST: Include the following JSON object in the request body:
```json
{
"name": "Jazelle Laredo",
"level": "4",
"section": "A",
"academicYear": "2013-2014"
}```
### Response Body
- POST: The response body for the HTTP POST request will contain the created student record in JSON format:
```json
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Jazelle Laredo",
"level": "4",
"section": "A",
"academicYear": "2013-2014"
}```