https://github.com/jmbl1685/graphql-api-nodejs
Movie API sample - GraphQL [Node.js + Express.js].
https://github.com/jmbl1685/graphql-api-nodejs
crud-sample expressjs graphql javascript mongodb movies-api nodejs now-sh
Last synced: 8 months ago
JSON representation
Movie API sample - GraphQL [Node.js + Express.js].
- Host: GitHub
- URL: https://github.com/jmbl1685/graphql-api-nodejs
- Owner: jmbl1685
- Created: 2018-06-15T01:36:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-09T21:47:29.000Z (over 6 years ago)
- Last Synced: 2025-01-04T14:42:02.547Z (9 months ago)
- Topics: crud-sample, expressjs, graphql, javascript, mongodb, movies-api, nodejs, now-sh
- Language: JavaScript
- Homepage: https://movies-graphql.now.sh/graphql
- Size: 186 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## GraphQL API
#### Movie API example based on GraphQL [Node.js + Express.js].```js
type Movie {
id: String!,
name: String,
gender: String,
ranking: Int,
year_release: Int,
cover: String
}type Query {
GetMovie: [Movie!]!
GetMovieByID(_id: String): Movie
}type Mutation {
CreateMovie(
name: String,
gender: String,
ranking: Int,
year_release: Int,
cover: String
): Movie!
DeleteMovie(_id: String): Movie!
UpdateMovie(
_id: String,
name: String,
gender: String,
ranking: Int,
year_release: Int,
cover: String
): Movie!
}
```