Skip to content

jphillips2121/movies-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movies Retrieval API

An API for retrieving and displaying data about movies.

Requirements

In order to run this API locally you will need to install the following:

Running the application locally

  1. Clone this repository: go get github.com/jphillips2121/movies-api
  2. Locate the downloaded repository in $GOPATH/src/github.com/jphillips2121/movies-api
  3. From this main directory run go run main.go

Endpoints

The API listens on port 8081, so all paths should be prefixed with http://localhost:8081

Method Path Description
GET /movies Returns all movies on the database
GET /movies/{movie_id} Returns movies details back for specific movie with relevant id
GET /comments Returns the user with the most amount of comments, and the number of these comments.
GET /likes Returns movie details back for the movie with the most amount of likes

About

An API for returning movie details

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages