Our much-anticipated 1.2.0 release of the Angular Fullstack generator is available now.
As many MEAN applications require accounts, we’ve added the ability to scaffold a user account boilerplate for your app.
The Passport boilerplate generates:
- Configuration for Passport and a User model
- API routes for sign up/log in/log out
- Login and signup views, with form validation (including handling server validation errors)
- Angular Auth service for interfacing with the authentication API from the client
- Settings view that allows you to change your password
This boilerplate is also available in Jade and CoffeeScript flavors.
Try out the demo of what it scaffolds. (Typically needs a refresh to load, as it’s running on a heroku free instance.)
Configuration files are now generated with a new project, making it much easier to change behavior in different node environments. Routes have been separated out of the server.js into their own module.
Additionally, we’ve overhauled the deployment to build all distribution files all into the dist folder. No more public/views folders cluttering up your project folder. And no need for a separate heroku folder anymore, we just use dist.
For more info head over to the github page and have a look at the changelog.
Huge thanks to kjellski for his help bringing Passport integration to the generator!
Update: At time of writing this the npm version was
1.1.1. I’ve corrected this and published
1.2.0 on npm. Please update with
npm update -g generator-angular-fullstack if you got the wrong version.