4.4.1 Update backend to implement Role Based Access Control (RBAC), add CORS and update logout feature

Introduction Before diving into frontend authentication, it’s essential to establish a strong foundation by implementing Role-Based Access Control (RBAC) on the backend. This approach ensures that the basics of authentication and RBAC are developed simultaneously, providing a secure and efficient authentication system. This article guides you through the steps to create roles, guards, and necessary … Read more

4.2. Develop Full Stack Boilerplate: Create backend authentication

The previous article demonstrated the initial steps in developing a full-stack JavaScript system using an NX monorepository. This included generating a NestJS app for the backend, creating an Angular app, and configuring a PostgreSQL database in a Docker container. Additionally, it covered setting up the first TypeORM migrations to facilitate further development. The next step … Read more

4.1. Develop Full Stack Boilerplate: workspace, environment and database preparation

The previous articles demonstrated the basic prep work to start writing code. And now we can start! This article shows the execution of the first task of the first stage: “Create workspace, set up environment and migrations on backend“ Check installed globally versions of NodeJS, NX, Angular, NestJS and update or install it Generate nx workspace with … Read more