Giter VIP home page Giter VIP logo

capstone_casting's Introduction

This project is the final project for the Udacity Full Stack Developer Nano Degree

The project is to simulate a casting agency. This includes having actors and movies and assigning actors to movies.

This project has two models/tables: A movie table that holds all the movies and an actors table that holds all the actors. For each movie, there are many actors so there is a one to many relationship there.

To login or set up an account, go to the following url:

https://casting-capstone.auth0.com/authorize?audience=cast&response_type=token&client_id=UdxgyT6RC2frwGoZ7lJEO3FDCRRoDZq0&redirect_uri=https://capstone-casting.herokuapp.com/login-results

There are three roles within the API. Casting Assistant, Casting Director and Executive Producer. The logins for the three roles has been provided in the separate notes

The url for the API: https://capstone-casting.herokuapp.com/

The endpoints are as follows:

GET '/movies' This endpoint fetches all the movies in the database and displays them as json

GET '/actors' This endpoint fetches all the actors in the databse and displays them as json

POST '/movies/create' This endpoint will create a new movie in the database based on the json that is in the body of the request

POST '/actors/create' This endpoint will create a new actor in the database based on the json that is in the body of the request

DELETE '/movies/delete/int:movie_id' This endpoint will delete the movie that corresponds to the movie ID that is passed into the url

DELETE '/actors/delete/int:actor_id' This endpoint will delete the actor that corresponds to the actor ID that is passed into the url

PATCH '/actors/patch/int:actor_id' This endpoint will modify the actor that corresponds to the actor ID that is passed into the url based on the json that is passed into the body of the request

PATCH '/movies/patch/int:movie_id' This endpoint will modify the movie that corresponds to the movie ID that is passed into the url based on the json that is passed into the body of the request

capstone_casting's People

Contributors

dwainick24 avatar

Watchers

James Cloos avatar  avatar

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.