Nx NestJS Angular Boilerplate
Table of Contents
About The Project
After publishing a series of blog posts on creating a full-stack project with this same stack, I decided to publish a generic boilerplate for future use. This template has saved me hours of re-implementing the same logic for authentication, user management, Swagger documentation, and more.
|REST API||Complete||Powered by NestJS|
|Frontend||In Progress||Angular web client|
|Authentication||Complete||JWT support via Passport|
|Authorization||Complete||Simple role-based support (admin/user)|
|User Registration||Complete||Local registration via email/password|
Social OAuth support for Google
|User Management||Complete||Email verification|
|Data Validation||Complete||Infrastructure: Shared, core libraries maintain data structures between libraries|
Environment-based configuration can be used for builds and pipelines
|CI/CD||Complete||Distributed CI runners powered by Nx Cloud handle linting, testing, and builds|
|Error Handling||Complete||Integration with Sentry|
To create your own repository from this codebase, click the "Use this template" button in the GitHub UI.
A few things are needed before working on this project:
> npm install yarn@latest -g # alternative installation method > brew install yarn
> npm install nx@latest -g
- Sentry DSN
- Google OAuth Client ID/Secret
- SMTP settings
See GETTING_STARTED.md for steps on configuring your workspace and customizing your application.
See TODO.md for details on planned features and ideas
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature)
- Commit your Changes (
git commit -m 'Add some AmazingFeature')
- Push to the Branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
Distributed under the MIT License. See
LICENSE for more information.
Wallace Daniel - The Full Stack Engineer - firstname.lastname@example.org
Project Link: https://github.com/wgd3/nx-nestjs-angular-boilerplate
This repository results from my experiments with different repository structures, best practices, and framework integrations. Part of the evolution of this repository included chunks of code copied from, or inspired by, other repositories.
This list continually evolves; more will be added as the repository evolves!