A simple single page application (SPA) that allows a user to add, edit and remove movies from a local database. Created for the purpose of exploring SPAs made with the MEAN stack framework.
The entire project is divided into two directories:
- Frontend (Angular.js, HTML, CSS) - contains the SPA logic
- Backend (Node.js, Express.js, MongoDB) - contains the server/database logic executed on HTTP calls
Both frontend and backend will run on their own respective server instances:
- Frontend will run on port 9006
- Backend will run on port 9000
To run the project run the following commands on your linux terminal (make sure that your MongoDB is running beforehand):
- git clone https://github.com/anasayubi/movieRepo
- cd movieRepo/backend
- npm install
- node index.js
Open a new linux terminal in 'movieRepo' and:
- cd frontend
- npm install
- bower install
- node server.js