Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daniloab/movies-backend
Movies Backend GraphQL API - https://tmdb-api-backend.herokuapp.com/graphql
https://github.com/daniloab/movies-backend
Last synced: 28 days ago
JSON representation
Movies Backend GraphQL API - https://tmdb-api-backend.herokuapp.com/graphql
- Host: GitHub
- URL: https://github.com/daniloab/movies-backend
- Owner: daniloab
- Created: 2019-05-24T02:12:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T22:31:54.000Z (about 2 years ago)
- Last Synced: 2024-10-18T09:15:03.796Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Movies TMDb API GraphQL
GraphQL Api created to consume TMDb REST API. You can use this api with this link below passing on body the queries that you can see after getting started:[https://tmdb-api-backend.herokuapp.com/graphql](https://tmdb-api-backend.herokuapp.com/graphql)
## Getting Started
```
# clone repo
$ git clone https://github.com/daniloab/movies-backend.git
$ cd movies-backend# install dependencies
$ yarn install# build and start project
$ yarn start# to see on graphi graphql interface on localhost link
$ yarn dev and open the link below
http://localhost:8080/graphql
```## Queries
- Movies Upcoming
```
{
moviesUpcoming(page:1){
title,
overview,
release_date
poster_path
backdrop_path
genre_ids
}
}
```
- Movie Details
```
{
movie(movie_id:123){
title
backdrop_path
poster_path
genres {
name
}
}
}
```
- Movies Genres
```
{
genres{
id
name
}
}
```## Tools and Frameworks
- GraphQL
- Koa Framework
- Babel Transpiler
- GraphQL Relay
- Dotenv