Skip to content

duplich/movies-interview-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

In the project directory, you can follow the next steps in order to test the application:

STEP 1 npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

STEP 2: cd movies-backend

Go to the backend folder

STEP 3: mkdir -p /data/db

Create the folder for saving the data before runing the mongo service

STEP 4: sudo mongod

Start the mongo database server with sudo user. Before running mongod for the first time, ensure that the user account running mongod has read and write permissions for the directory.

STEP 5: mongo

Start the mongo database.

STEP 6: npm start

Start the Backend based on the Express enginge that connects to the mongodb://localhost:27017/movies

Open http://localhost:8000 to view the backend it in the browser. (you will need the json parser if you want to see some useful information :)

##Demo movies The fixture file file can be found in movies-backend/movies.json THis file can be imported into the database for easier testing of the app

About

Coding challenge for potential Ironhack instructors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.6%
  • CSS 5.3%
  • HTML 5.1%