Skip to content

keertyverma/movie_mania

Repository files navigation

movie_mania

This API is used to maintain movies information

To start local server

  • Install node modules -> npm install
  • To start server -> npm start
  • To run testcase -> npm test

List of available APIs

Endpointhttp://localhost:3000/moviemania/api/

Public Documentation has been made available. Here is a Run in Postman button to import the same and test.

Register User

HTTP method Route Description
post /users/register To register user

Authenticate User

HTTP method Route Description
post /auth To authenticate user

Movie

HTTP method Route Description
get /movies get all movies
get /movies/:id get specific movie by id
post /movies add new movie
patch /movies/:id update movie by id
delete /movies/:id delete a movie by id

Genre

HTTP method Route Description
get /genres get all genres
get /genres/:id get specific genre by id
post /genres add new genre
patch /genres/:id update genre by id
delete /genres/:id delete a genre by id

Releases

No releases published

Packages

No packages published