GithubHelp home page GithubHelp logo

brianwmorgan / movies-theaters-and-reviews-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 230 KB

The We Love Movies server is a backend API built with RESTful architecture to handle HTTP requests from the frontend client application, which was designed by Thinkful. The server allows a user to look up movies, theaters, and reviews from the client app. It also allows an admin to update and delete reviews.

Home Page: https://movies-theaters-and-reviews-server.onrender.com/movies

JavaScript 100.00%

movies-theaters-and-reviews-server's Introduction

We Love Movies | Application Server

The We Love Movies server is a backend API built with RESTful architecture to handle HTTP requests from the frontend client application, which was designed by Thinkful. The server allows a user to look up movies, theaters, and reviews from the client app. It also allows an admin to update and delete reviews.

Links

Server deployed to Render (use the /movies, /theaters, or /reviews routes listed below)
Client App designed by Thinkful

Technology

  • JavaScript, Node.js, Express, PostgreSQL, Knex

Javascript icon Node.js icon Express icon PostgreSQL icon Knex icon

Installation

Server

  1. Fork and clone this repository.
  2. Run npm install to install project dependencies.
  3. Run npm start to start the server locally.

Client Application

  1. Go to Thinkful's starter code on GitHub.
  2. Fork and clone the repository.
  3. Run npm install to install project dependencies.
  4. Run `npm start' to start the client app locally.

Backend API

Routes

The API allows for the following routes:

Method Route Description
GET /movies Lists all movies.
GET /movies/:movieId Reads a specific movie by movie_id.
GET /movies/:movieId/theaters Lists all theaters that are playing a specific movie.
GET /movies/:movieId/reviews Lists all reviews for a specific movie.
GET /theaters Lists all theaters.
GET /reviews Lists all reviews.
PUT /reviews/:reviewId Updates a specific review by review_id.
DELETE /reviews/:reviewId Deletes a specific review by review_id.

HTTP Methods

Route Get Put Delete
/movies
/movies/:movieId
/movies/:movieId/theaters
/movies/:movieId/reviews
/theaters
/reviews
/reviews/:reviewId

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.