Skip to content

tofaelahmed/moviedb-api

Repository files navigation

MovieDB Server

This is the API server for MovieDB task. It is a RESTful API written using express. The Api will be accessed from web client application.

Technology stack

Setup

This app currently pointing to a remote MongoDB url.If you wish to use local or any other url please update it in database.js.

git clone https://github.com/tofaelahmed/moviedb-api.git
npm install
npm start

Source Tree

├──auth
│   └── jwt-helper.js
│   └── passport.js
│   └── strategies.js
├──bin
│   └── www
├──errors
│   └── base-error.js
│   └── conflict.js
│   └── not-found.js
│   └── unauthorized.js
├──middlewares
│   └── cors.js
│   └── error-handler.js
├──models
│   └── index.js
│   └── movie.js
│   └── user.js
├──routes
│   └── api
│        └── movie.js
│        └── user.js
│   └── validation
│        └── movie.js
│        └── user.js
├──services
│   └── movie-service.js
│   └── user-service.js
├──socket
│   └── index.js
│   └── socket-handler.js
├──spec
│   └── user.spec.js
│   └── movie.spec.js
├──.env
├──app.js
├──databse.js
├──logger.js
├──package-lock.json
├──package.json
├──README.md
├──ui-errors.md