generator-angular-fullstack

Yeoman generator for AngularJS with an Express server

Github星跟踪图

The Angular Full-Stack Generator

Build Status npm version Dependency Status Dev-Dependency Status Gitter chat

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 Status Dev-Dependency Status Known Vulnerabilities

Usage

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

npm install -g yo gulp-cli generator-angular-fullstack

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

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

npm run start:server

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

npm run start:client

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

Run yo angular-fullstack

yo angular-fullstack

See the Getting Started guide for more information.

Prerequisites

  • MongoDB - Download and Install MongoDB - 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 Docker 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/

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 page.

Contribute

See the contributing docs

When submitting an issue, please follow the Yeoman issue guidelines. 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 license

generator-angular-fullstack

主要指标

概览
名称与所有者angular-fullstack/generator-angular-fullstack
主编程语言JavaScript
编程语言JavaScript (语言数: 10)
平台
许可证
所有者活动
创建于2013-10-27 21:56:18
推送于2023-02-14 04:42:55
最后一次提交2023-02-13 23:42:54
发布数88
最新版本名称5.0.0-rc.1 (发布于 )
第一版名称v0.0.2 (发布于 )
用户参与
星数6.1k
关注者数269
派生数1.2k
提交数2.8k
已启用问题?
问题数1948
打开的问题数240
拉请求数532
打开的拉请求数14
关闭的拉请求数309
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?