
Inject the user repository, implement a save function in the user service, validate password confirmation, hash the password with bcrypt, and save the user data (isAmbassador false).
Explore building product management with NestJS: create a product entity, controller, and service, implement crud endpoints (get all, get by id, create, update, delete), and seed sample data.
Create orders and order items as entities in Angular and NestJS, define a one-to-many relation, and implement fields such as ambassador data, address details, and a 90/10 revenue split.
Expose order items with orders by configuring relations, concatenate first and last names into a single name, and compute a total with reduce to show admin revenue.
Explore ambassador endpoints by implementing two product retrieval methods: front-end filtered and API-filtered; create links, then compute revenue per link and rank ambassadors by total revenue.
implement stripe checkout in the backend by installing the stripe library, configuring keys, constructing line items, and creating a checkout session with success and cancel URLs.
Implement logout functionality by sending a logout request with credentials, clearing cookies, and redirecting to the login page. Protect routes with a secure component and redirect unauthenticated users to login.
Configure routing to redirect the main page to the users list, highlight the active link, and fetch users from environment API/users to display in a table.
Import and configure common files from the Angular admin project, including interfaces, public model, interceptors, services, and the environment API, to build the ambassador app login and registration flow.
Develop the frontend products view by consuming the environment api/products endpoint with the Angular product service, subscribing to the observable to display all products and prep search and sort filters.
Set up an Angular checkout project, run on port 5000, apply a bootstrap template, and tailor the form to require first name, last name, email, address, country, state, and zip.
Learn how to create an Ambassador App using Angular and NestJS. We will build 3 frontend apps Admin, Ambassador and Checkout and they will consume a big NestJS API.
In NestJS you will learn:
Use Docker
Use TypeORM and connect with MySQL
Use Typescript
Use Interceptors and Guards
Validate Requests
Generate Jwt Tokens
Use HttpOnly Cookies
Login with Scopes
Use Redis
Use Stripe
Sending Emails
Filter Cached products
In Angular you will learn:
Angular CLI
Use interceptors
Create public and private routes
Use Reactive Forms
Angular Material
Angular Universal
I'm a FullStack Developer with 10+ years of experience. I'm obsessed with clean code and I try my best that my courses have the cleanest code possible.
My teaching style is very straightforward, I will not waste too much time explaining all the ways you can create something or other unnecessary information to increase the length of my lectures. If you want to learn things rapidly then this course is for you.
I also update my courses regularly over time because I don't want them to get outdated. So you can expect more content over time from just one course with better video and audio quality.
If you have any coding problems I will offer my support within 12 hours when you post the question. I'm very active when trying to help my students.
So what are you waiting for, give this course a try and you won't get disappointed.