guettafa / ASP.NET-API

Simple API with CRUD operations in C# ASP.NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API with CRUD Operations

This is a sample API built using C# ASP.NET that demonstrates CRUD (Create, Read, Update, Delete) operations on a hypothetical resource.

Getting Started

To get started with using this API, follow the instructions below.

Prerequisites

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/guettafa/ASP.NET-API.git
  1. Go to project dir
cd ASPAPI
  1. Build solution
dotnet build
  1. Run the application
dotnet run

Endpoints

Method Endpoint Description
GET /movie/ Retrieve all resources.
GET /movie/{id} Retrieve a specific resource by ID.
POST /movie/ Create a new resource.
PUT /movie/ Update an existing resource.
DELETE /movie/{id} Delete a resource by ID.

About

Simple API with CRUD operations in C# ASP.NET


Languages

Language:C# 100.0%