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.
Generated project:
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 https://localhost:8080/).
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 https://es6-features.org/
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.