Coder Social home page Coder Social logo

byobackend's Introduction

Movies

Installation and Setup

From the command line:

  1. git clone https://github.com/JellyBeans1312/byobackend <PROJECT_NAME>
  2. Run npm install
  3. Run nodemon server.js In your browser: Open localhost://3000/

Overview

A movie database with directors.

Technologies

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

Endpoints

url verb options expected response
https://by-ob.herokuapp.com/api/v1/movies GET not needed ARRAY of all movies currently in the database
https://by-ob.herokuapp.com/api/v1/directors GET not needed ARRAY of all directors currently in the database
https://by-ob.herokuapp.com/api/v1/movies/:id GET not needed OBJECT containing movie
https://by-ob.herokuapp.com/api/v1/directors/:id GET not needed OBJECT of the specified director
https://by-ob.herokuapp.com/api/v1/movies/ POST Add a new movie to the database, success response contains movie ID ``
https://by-ob.herokuapp.com/api/v1/directors POST {"firstName": , "lastName": } Add new director; success response contains director ID
https://by-ob.herokuapp.com/api/v1/movies/:id DELETE not needed Delete selected movie from the database
Note: All of these endpoints will return semantic errors if something is wrong with the request.

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.