Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
/ mosh-vidly Public archive

Mosh node.js masterclass vidly project with maximum test coverage.

Notifications You must be signed in to change notification settings

raikusy/mosh-vidly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A REST API for a Video rental platform

Built with Node.js, Express, MongoDB.

How to use?

First clone this repo on your local machine. Make sure you have Node.js v8 or greater installed. Also NPM v6 or greater installed.

git clone https://github.com/raikusy/mosh-vidly.git

Next install all the dependencies.

npm install

You need to export a environment variable to make this project work. To set environment variable on your mac os / linux machine type the bellow command in your terminal.

export vidly_jwtPrivateKey=secretKey

For windows open CMD and enter:

set vidly_jwtPrivateKey=secretKey

Next MongoDB needs to be installed and running in your machine. If everythings setup, enter the following command to start the application.

node index.js

Or you can use nodemon:

npm install -g nodemon
nodemon index.js

About

Mosh node.js masterclass vidly project with maximum test coverage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published