Skip to content

bruckmann/node-native-api

Repository files navigation

node-native-api

This is a api to get all the latest movies, series,..., that are recently added to Netflix.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PORT = The port witch you desire to run the project

CONN_STRING= The mongoDB connection string

Run Locally

First you need to setup the mongoDB service

Run the fallowing command

   docker run --name mongo  -p 27017:27017 -d mongo

Then you just need to setup the service api

Clone the project

  git clone https://github.com/bruckmann/node-native-api

Go to the project directory

  cd node-native-api

Install dependencies

  yarn install

Start the server

  yarn dev

Running Tests

To run tests, run the following command

  yarn test

TO-DO

  • Fix the statusCode on return of reponse
  • Split catalog into two types: Catalog and MACTS (MOVIES, ANIMES, COMICS AND TVSERIES)
  • Create a Dockerfile and docker-compose file to run all the application inside containers
  • Decrease numbers of retry to connect on the databas

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages