A very simple web application using MEAN stack, which consists of:
- A web client is using AngularJS 1.4 written in ES6
- An API server with Express and Mongoose
Open http://localhost:9000
to see a list of car listings and http://localhost:9000/enquiries
to see a list of submitted enquiries.
This project was generated with the Angular Full-Stack Generator version 3.2.0.
- Git
- Node.js and npm Node ^4.2.3, npm ^2.14.7
- Bower (
npm install --global bower
) - Grunt (
npm install --global grunt-cli
) - MongoDB - Keep a running daemon with
mongod
-
Run
npm install
to install node / express dependencies. -
Run
bower install
to install front-end dependencies. -
Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running -
Run
grunt serve
to start the development server. It should automatically open the client in your browser when ready.
Run grunt build
for building and grunt serve
for preview.
Running npm test
will run the unit tests with karma.