GithubHelp home page GithubHelp logo

movies-list's Introduction

Cleverpy application test

Installation

The application is encapsulated to be used with docker-compose so it is necessary to have the latest version of Docker installed, as well as Node.js to ensure that the deployments are done correctly.

Prerequisites

What things you need to install the software and how to install them

openjdk version "1.8.0_312"
docker version "latest"

BUILD the application

 > ./gradlew build
 > docker-compose up --build

BUILD AND UP Docker Compose

 > docker-compose up --build   
 > docker-compose down <- down docker compose     `

ROUTES

POST /signup

curl -s -X POST \
  http://localhost:8080/signup \
  -H 'Content-Type: application/json' \
  -d '{"email":"[email protected]", "username":"test",  "password": "1234"}'

POST /login

curl -s -X POST \
  http://localhost:8080/login \
  -H 'Content-Type: application/json' \
  -d '{"username":"test", "password": "1234"}'

GET /discover/movies

curl -s -X GET \
  http://localhost:8080/discover/movies

GET /movies/{movieId}

curl -s -X GET \
  http://localhost:8080/movies/{movieId}

GET /movies/{movieId}/cast

curl -s -X GET \
  http://localhost:8080/movies/{movieId}/cast

GET /cast/{castId}

curl -s -X GET \
  http://localhost:8080/cast/{castId}

POST /favorites/{movieId}

curl -s -X POST \
  http://localhost:8080/favorites/{movieId} \
  -H 'Content-Type: application/json' 

GET /favorites

curl -s -X GET \
  http://localhost:8080/favorites

To test the api you can use this link http://localhost:8080 or the POSTMAN collection including in this repo.

DEMO

The API is currently deployed at vultr.com you can try it at this link http://108.61.119.125:8080

Acknowledgment

In advance I appreciate the interest in my profile, I hope to meet the expectations of the position.

License

MIT

Autor

movies-list's People

Contributors

jdanielrodriguez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.