/BooksApi

A web API that performs CRUD operations on a MongoDB NoSQL database

Primary LanguageC#

Prerequisites

Description

This is a web API that performs Create, Read, Update, and Delete (CRUD) operations on a MongoDB NoSQL database.

Run the project

dotnet run

Build the project

dotnet build

Install nuget packages

dotnet restore

Run the tests

dotnet test

API Documentation

Postman API Documentation

Method Description Route
GET Get all books /api/books
POST Create a book /api/books
GET Get a specific book /api/books/:bookId
PUT Update a specific book /api/books/:bookId
DELETE Delete a specific book /api/books/:bookId

Author

  • Ryan Simiyu

Notes

ASP.NET Core and MongoDB Documentation