Coder Social home page Coder Social logo

andyfrith / tmdb-demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.82 MB

A minimal Node.js TypeScript application providing a GraphQL API and access to The Movie Database (TMDb)

JavaScript 7.33% CSS 3.81% TypeScript 88.87%
nodejs graphql tmdb-api typescript apollo-server

tmdb-demo's Introduction

Movies

tmdb-demo

This demo is a minimal Node.js TypeScript application providing a GraphQL API and access to The Movie Database (TMDb.)

Table of Contents

  1. Introduction
  2. Features
  3. Environment
  4. Other Demos
  5. Contact Developer

Introduction

This very light application serves as a simple demo of several technologies and best-practices.

Features

Listing movies is made possible with the following GraphQL Query:

{
  discoverMovies(
    input: DiscoverMoviesRequest!
  ): DiscoverMoviesResponse!
}

TyepScript

Why TypeScript? Because, use of types lends itself to using highly-productive development tools and practices; such as, static checking and code refactoring during JavaScript development. Additionally, there is great support for TypeScript in the development community.

Node.js

The application was built using Node.js.

GraphQL

This application was built using the Apollo Server GraphQL server and the Node.js apollo-server-express middleware.

The GraphQL schema is generated using the Apollo CLI.

⬆ back to top

Environment

Available Scripts

In the project directory, you can run:

npm install

Installs the necessary modules required to build and run the application.

npm generate

Generates GraphQL schema by running the the Apollo CLI.

npm start

Stards the Node.js process, runs the app.
Open http://localhost:5002/graphql to view the GraphQL playground in the browser.

npm run build

Compiles the typescript using tsc, building the app for production.

npm run test

Tests will be added in the future.

⬆ back to top

Other Demos

tmdb-demo-ui - the UI counterpart- a minimal React Typescript application providing a simple UI that acesses the GraphQL API endpoints of the tmdb-demo server

demo-gql-ui - A minimal React Typescript application providing a simple UI that acesses the GraphQL API endpoints of the demo-gql server

react-portal - a React Redux application that provides simple user management tasks upon successful JWT authentication

greasy-spoon-pos - a React Redux application that provides minimal features of a very basic restaurant Point of Sale system

goodapplemedia.com - a responsive website created with HTML5, Foundation CSS, and ES6 that demonstrates an exceptional and desirable user experience

⬆ back to top

Contact Developer

I'm driven to deliver exemplary User Experiences and sound application architectures. I enjoy solving customer problems with excellent design and engineering- to greatly affect business success.

Portfolio

Email: [email protected]

LinkedIn

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.