Skip to content

Basileum/go-basic-crud-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic CRUD API in Go (go-basic-crud-api)

Thanks to Akhil Sharma

Code written following his training course available on freeCodeCamp.org : Learn Go Programming by Building 11 Projects – Full Course

Purpose of the project

This project goal is to cover CRUD operations for a movie collection. These operations are performed on a slice containing the movies.

  • GET /movies : get all movies
  • GET /movies/ : get the movie with the specified id
  • POST /movies : add a new movie from the one specified on the body of the request
  • PUT /movies/ : update the movie with the specified id
  • DELETE /movies/ : delete the movie with the specified id

Built with

We use here gorilla/mux HTTP router.

Test of the routes

Perfomed with Postman

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages