The Angular Full-Stack Generator

Image

Build Status npm versionarrow-up-right Dependency Statusarrow-up-right Dev-Dependency Statusarrow-up-right Gitter chatarrow-up-right

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.

Generated project:

Dependency Statusarrow-up-right Dev-Dependency Statusarrow-up-right Known Vulnerabilitiesarrow-up-right

Usage

Install yo, gulp-cli, and generator-angular-fullstack:

Please note: If you run into trouble compiling native add-ons during the installation, follow node-gyparrow-up-right's short guide on required compilation toolsarrow-up-right.

Then, to run your app (make sure the MongoDB daemon is running if you selected Mongo), run the following to start your server:

and the following to start the Webpack dev server for the front-end:

The Webpack server will tell you which port to access the app at (usually http://localhost:8080/arrow-up-right).

Run yo angular-fullstack

See the Getting Startedarrow-up-right guide for more information.

Prerequisites

  • MongoDB - Download and Install MongoDBarrow-up-right - If you plan on scaffolding your project with mongoose, you'll need mongoDB to be installed and have the mongod process running.

    • If you have Dockerarrow-up-right installed, you can easily run a test database with docker run -p 27017:27017 --name afs-mongo -d mongo

  • 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/arrow-up-right

Supported Configurations

General

  • Build Systems: Gulp

  • Testing:

    • Jasmine

    • Mocha + Chai + Sinon

      • Chai assertions:

        • Expect

        • Should

Client

  • Scripts: JavaScript (Babel), TypeScript

  • Module Systems: Webpack

  • Markup: HTML, Pug

  • Stylesheets: CSS, Stylus, Sass, Less

  • CSS Frameworks: Bootstrap

    • Option to include UI Bootstrap

Server

  • Scripts: JavaScript (Babel), TypeScript (planned)

  • Database:

    • None,

    • MongoDB, SQL

      • Authentication boilerplate: Yes, No

      • oAuth integrations: Facebook, Twitter, Google

      • Socket.io integration: Yes, No

Generators

Available generators:

Documentation

Check out our documentation home pagearrow-up-right.

Contribute

See the contributing docsarrow-up-right

When submitting an issue, please follow the Yeoman issue guidelinesarrow-up-right. Especially important is to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue, as well as any stack traces.

License

BSD licensearrow-up-right

generator-angular-fullstackarrow-up-right

Last updated

Was this helpful?