VugoPress is a test project developed for practicing with the Go programming language. In this project, we've implemented a set of handlers, services, and repositories for basic web API operations.
To use the API, you can send HTTP requests to the following endpoints:
POST /register
: Register routePOST /login
: Login route
GET /articles
: Get all articlesPOST /articles
: Create a new articleGET /articles/:id
: Get an article by IDPUT /articles/:id
: Update an article by IDDELETE /articles/:id
: Delete an article by ID
GET /tags
: Get all tagsPOST /tags
: Create a new tagGET /tags/:id
: Get a tag by IDPUT /tags/:id
: Update a tag by IDDELETE /tags/:id
: Delete a tag by ID
GET /useful_links
: Get all useful linksPOST /useful_links
: Create a new useful linkGET /useful_links/:id
: Get a useful link by IDPUT /useful_links/:id
: Update a useful link by IDDELETE /useful_links/:id
: Delete a useful link by ID
GET /social_media_links
: Get all social media linksPOST /social_media_links
: Create a new social media linkGET /social_media_links/:id
: Get a social media link by IDPUT /social_media_links/:id
: Update a social media link by IDDELETE /social_media_links/:id
: Delete a social media link by ID
GET /contacts
: Get all contactsPOST /contacts
: Create a new contactGET /contacts/:id
: Get a contact by IDPUT /contacts/:id
: Update a contact by IDDELETE /contacts/:id
: Delete a contact by ID
The API accepts and returns JSON data.