MEAN Project + Angular Universal
- MongoDB v3.6.2 (Mongoose v5.0.9)
- Express v4.16.2
- Angular v5.2.8
- Node.js v9.7.1
- Clone this repo
cd
into the folder of the cloned repo- Run
yarn install
to install dependencies - Start your local MongoDB instance
- Choose to run the development or production server
- Development
- Front End (Angular)
- Run
ng serve
, and navigate tohttp://localhost:4200/
.
- Run
- Back End (MongoDB, Express, Node.js)
- Run
yarn run dev
, and navigate tohttp://localhost:3000/
.
- Run
- Front End (Angular)
- Production
- Run
yarn start
, and navigate tohttp://localhost:3000/
.
- Run
- Development
yarn run dev
- Builds the Angular project into the
dist/
folder without build optimization - Builds the Angular Universal server into the
dist-server/
folder without build optimization - Runs the
server.js
node app
- Builds the Angular project into the
yarn run build
- Builds the Angular project into the
dist/
folder - Builds the Angular Universal server into the
dist-server/
folder
- Builds the Angular project into the
yarn start
- Runs
yarn run build
as above - Runs the
server.js
node app
- Runs
- Angular 5
- Angular Universal
- Angular Material
- Bulma CSS Framework
- Font-Awesome 5
- Express
- Mongoose
- Angular CLI v1.7.2
- Morgan Logging library
- Typescript
- Karma
- Protractor
- Jasmine