You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Yeoman generator for creating MEAN/SEAN stack applications, using ES2017, MongoDB/SQL, Express, Angular, and Node - lets you quickly set up a project following best practices.
> Yeoman generator for creating MEAN/SEAN stack applications, using ES2017, MongoDB/SQL, Express, Angular, and Node - lets you quickly set up a project following best practices.
Install `yo`, `gulp-cli`, and `generator-angular-fullstack`:
21
-
```
16
+
17
+
```text
22
18
npm install -g yo gulp-cli generator-angular-fullstack
23
19
```
24
-
__Please note__: If you run into trouble compiling native add-ons during the installation, follow [`node-gyp`](https://github.com/nodejs/node-gyp)'s short guide on [required compilation tools](https://github.com/nodejs/node-gyp#installation).
25
20
26
-
Then, to run your app (make sure the MongoDB daemon is running if you selected Mongo), run the following to start your server:
27
-
```sh
21
+
**Please note**: If you run into trouble compiling native add-ons during the installation, follow [`node-gyp`](https://github.com/nodejs/node-gyp)'s short guide on [required compilation tools](https://github.com/nodejs/node-gyp#installation).
22
+
23
+
Then, to run your app \(make sure the MongoDB daemon is running if you selected Mongo\), run the following to start your server:
24
+
25
+
```bash
28
26
npm run start:server
29
27
```
28
+
30
29
and the following to start the Webpack dev server for the front-end:
31
-
```sh
30
+
31
+
```bash
32
32
npm run start:client
33
33
```
34
34
35
-
The Webpack server will tell you which port to access the app at (usually http://localhost:8080/).
36
-
37
-
---
35
+
The Webpack server will tell you which port to access the app at \(usually [http://localhost:8080/](http://localhost:8080/)\).
38
36
39
37
Run `yo angular-fullstack`
40
-
```
38
+
39
+
```text
41
40
yo angular-fullstack
42
41
```
43
42
44
-
**See the[Getting Started](https://angular-fullstack.github.io/get-started/) guide for more information.**
43
+
**See the**[**Getting Started**](https://angular-fullstack.github.io/get-started/)**guide for more information.**
45
44
46
45
## Prerequisites
47
46
48
47
* MongoDB - Download and Install [MongoDB](https://www.mongodb.com/download-center#community) - If you plan on scaffolding your project with mongoose, you'll need mongoDB to be installed and have the `mongod` process running.
49
48
* If you have [Docker](https://www.docker.com/) installed, you can easily run a test database with `docker run -p 27017:27017 --name afs-mongo -d mongo`
50
-
* The project's JavaScript is written in ECMAScript 2015. If you're unfamiliar with the latest changes to the specification for JavaScript, check out http://es6-features.org/
49
+
* The project's JavaScript is written in ECMAScript 2015. If you're unfamiliar with the latest changes to the specification for JavaScript, check out [http://es6-features.org/](http://es6-features.org/)
0 commit comments