Skip to content

ottohellwig/movie-api-extension

Repository files navigation

Movie API Extension

Extension of the IMDb clone REST API with new endpoints, additional data and accompanying Swagger documentation.

MySQL  Express.js  Knex.js  Swagger  Insomnia

image

Description

Movie API Extension is an improved version of the REST API used in the IMDb Clone project. The improvements include additional API endpoints and a new HTTP method, PUT. The backend database was extended with new tables in MySQL and now includes user profiles. Further, the other retrieval functions of the original API were replicated and Swagger documentation (YAML) was produced to accompany that.

Features

Click to view features

  • New Profile endpoint
    • GET /user/{email}/profile
    • PUT /user/{email}/profile
  • Tested in Insomnia
  • Additional profile data
  • Swagger documentation

Installation

  1. Clone the repository.

    git clone https://github.com/ottohellwig/movie-api-extension.git
  2. Install the dependencies.

    npm install
  3. Deploy local version.

    npm start
  4. Go to localhost:3000.

Contributing

Contributions (Issues/PRs/Discussions) are the driver of improvements in projects. Any contributions you make are greatly appreciated.

License

This work is published under MIT License.

Note

To have the table functioning, please request a demo via an issue.