Movies Library Development using:
- Package manager: Npm
- Compiler: Babel
- Bundler: Webpack
- CSS preprocessor: Sass
- Client side: React.js
- State management: Redux
- State management: Redux
- Server side: Node.js
- Database: MongoDB
- Node.js & npm - Download & Install Node.js
- MongoDB - Install MongoDB
- Unix based operation system(os x, ubuntu, fedora, etc.)
Create the MongoDB data directory, if you don't have so
mkdir -p /data/db
Run MongoDB
mongod
In the project directory run below scripts:
npm install
to install dependencies
npm run start
to start the api. Also in the project directory run
npm run dev
like another process, to start the webpack dev server.
Open http://localhost:8080 to view app in the browser.
To start interact with content add movies choosing Add movie
from the navigation bar or Import movies
to import all movies to the database from file sample_movies.txt, laying under path /src/app/data
of the root directory of a project. The added content will immediately appear on the home page.