mean-stack-crud-example-feature-image

MEAN Stack example: CRUD with Angular 13, Node, MongoDB

In this tutorial, I will show you how to make Angular 13 connect to MongoDB with Node.js Express. We’re gonna build a full-stack (MEAN stack) CRUD example in which, the back-end server uses Node.js + Express for REST APIs, front-end side is an Angular App with HttpClient, Router and Bootstrap.

Other versions:
Using Angular 8
Using Angular 10
Using Angular 11
Using Angular 12

Run both projects in one place:
How to Integrate Angular with Node.js Restful Services

Security: MEAN stack Authentication & Authorization example

Read More

Angular 12 + MongoDB example with Node.js Express: CRUD App

In this tutorial, I will show you how to make Angular 12 connect to MongoDB with Node.js Express. We’re gonna build a full-stack (MEAN stack) CRUD Application in which, the back-end server uses Node.js + Express for REST APIs, front-end side is an Angular App with HttpClient, Router and Bootstrap.

Other versions:
Using Angular 8
Using Angular 10
Using Angular 11
Using Angular 13

Run both projects in one place:
How to Integrate Angular with Node.js Restful Services

Read More

JWT implementation with Refresh Token in Node.js example | MongoDB

In previous post, we’ve known how to build Token based Authentication & Authorization with Node.js, JWT and MongoDB. This tutorial will continue to make JWT Refresh Token in the Node.js Express Application. You can know how to expire the JWT, then renew the Access Token with Refresh Token.

Related Posts:
Node.js, Express & MongoDb: Build a CRUD Rest Api example
How to upload/store images in MongoDB using Node.js, Express & Multer
– Using MySQL/PostgreSQL instead: JWT Refresh Token implementation in Node.js example

Associations:
MongoDB One-to-One relationship with Mongoose example
MongoDB One-to-Many Relationship tutorial with Mongoose examples
MongoDB Many-to-Many Relationship with Mongoose examples

Deployment: Docker Compose: Node.js Express and MongoDB example

The code in this post bases on previous article that you need to read first:
Node.js + MongoDB: User Authentication & Authorization with JWT

Read More