Skip to content

t1mtw0/greenlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greenlight

Go Postgres Licence

Greenlight is a movies API for storing and accessing information about movies. The project comes from the book Let's Go Further by Alex Edwards.

Endpoints

Method URL Action
GET /v1/healthcheck Check if the API is available
GET /v1/movies Get list of movies
POST /v1/movies Create new movie
GET /v1/movies/:id Get movie from ID
PATCH /v1/movies/:id Update movie from ID
DELETE /v1/movies/:id Delete movie from ID
POST /v1/users Create new user
PUT /v1/users/activated Activate user
POST /v1/tokens/authentication Create authentication token for use

Features

  • CRUD methods
  • REST API
  • SQL migrations
  • Filtering, sorting, and pagination
  • Authentication
    • Create user
    • Email verification
    • Token authentication
  • Partial updates
  • Security
    • Hashed passwords
    • Rate limiter
    • Graceful shutdown
  • Metrics

About

Greenlight is a movies API for storing and accessing information about movies.

Resources

Stars

Watchers

Forks