Skip to content

Full Stack MEAN Application built around a Movie Database

Notifications You must be signed in to change notification settings

stavIatrop/moviedatabase

Repository files navigation

MovieDatabase

This project was generated with Angular CLI version 1.6.8.

Prerequisites

There a couple of things that need to be installed to run the application.

Install Node.js

The application requires Node.js to run.

$ sudo apt update
$ sudo apt install nodejs

Npm, Node.js package manager is also required.

$ sudo apt npm

Install MongoDB

After installing Node.js, MongoDB is required to be installed.

$ sudo apt update
$ sudo apt install -y mongodb

To verify the status of the server:

$ sudo systemctl status mongodb

To stop the server:

$ sudo systemctl stop mongodb

To start the server:

$ sudo systemctl start mongodb

Install Angular

$ npm -g install @angular/cli

Downgrade Angular so that is compatible with Node.js v8.10.0:

$ npm -g install @angular/[email protected]

Navigate to the moviedatabase directory and type:

$ npm install

Import database

$ mongoimport --db moviesDB --collection movies --jsonArray movies.json

Running the application

Navigate to the moviedatabase directory and type:

$ ng serve

Then, navigate to Back-End directory and type:

$ node app.js

Then, open the browser and type [http://localhost:4200/] and the application is running!

Note

Login only works with google account.

About

Full Stack MEAN Application built around a Movie Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published