This is a product review API built in C# and MongoDB. The API allows you to perform CRUD operations on product reviews.
- C#
- MongoDB
- Clone the repository
- Install the required packages
- Update the
appsettings.json
file with your MongoDB connection string and database name.
The API has the following endpoints:
GET /reviews
- Returns all reviewsGET /reviews/{id}
- Returns a specific review by IDPOST /reviews
- Creates a new reviewPUT /reviews/{id}
- Updates an existing review by IDDELETE /reviews/{id}
- Deletes a review by ID