Skip to content

literalog/quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quotes API

This is a simple RESTful API that allows you to interact with a collection of quotes stored in MongoDB.

Features

  • Get all quotes
  • Get a quote by ID
  • Create a new quote
  • Update a quote
  • Delete a quote

Routes

The API server has two main routes:

  • /quotes: This route is used to get all quotes or create a new quote.
  • /quotes/{id}: This route is used to get, update, or delete a quote by its ID.

Usage

To run the project, you will need Go and MongoDB installed on your system. Here are the steps to run the project:

  1. Clone the repository:
git clone https://github.com/literalog/quotes.git
  1. Run the project:
go run main.go

Releases

No releases published

Packages

No packages published