Giter Site home page Giter Site logo

vidly-back's Introduction

Vidly Store ๐ŸŽฎ

Bio ๐Ÿ“’

- vidly store is API service that let customer to rent avaiable movie in store.
- When customer return the movie these API will calculate the rental fee according to days movie has been out multipled by dailyRentalRate.

features

- admins can register with POST request to /api/users
- get valid JWT token that will require in #crusual action like adding or deleting.

Technology & tools ๐Ÿ’ก

- Nodejs v14.6 -> JavaScript runtime environment
- Express v4.16.2 -> build API
- Mongoose v5.0.2 to manipluate with MongoDB.

Logging โœ๏ธ

- Winstone v2.4
- Winstone-mongodb v3.0

Testing ๐Ÿงช

- For testing I've used Jest v29.5.
- To simulate the Request client used Supertest v3.0.

Endpoints: ๐Ÿ‰‘

Movies /api/movies

Supported Method        Required Token      Support Id Paramter
- GET                                               *
- POST          *           
- PUT           *           *                       *
- DELETE        *           *                       *

Genres /api/genres

Supported Method        Required Token      Support Id Paramter
- GET                                               *
- POST          *           *
- PUT           *           *                       *
- DELETE        *           *                       *

Customers /api/customers

Supported Method        Required Token      Support Id Paramter
- GET                                               *
- POST          *           
- PUT           *           *                       *
- DELETE        *           *                       *

Users /api/users

Supported Method        Required Token      Support Id Paramter
- GET                                               *
- POST          *           
- PUT           *           *                       *
- DELETE        *           *                       *

Rentals /api/rentals ๐ŸŽฅ

Supported Method        Required Token      Support Id Paramter
- GET                                               *
- POST          *           *
- PUT           *           *                       *
- DELETE        *           *                       *

Returns /api/returns

Supported Method        Required Token      Support Id Paramter
- GET                                               *
- POST          *           *
- PUT           *           *                       *
- DELETE        *           *                       *

Auth /api/auth ๐Ÿ˜ฒ

vidly-back's People

Contributors

sentic90 avatar

Watchers

 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.