DEV Community

Antonio Tripodi
Antonio Tripodi

Posted on β€’ Edited on

2 3 1 1

An API Boilerplate to create a ready-to-use REST API in seconds with NestJS 10.x/11.x (JWT Auth System, Typeorm)😻

In recent months I have used many javascript and typescript frameworks including Vue, Angular and React for the frontend while for the server side I was looking for a framework written in typescript for the backend at the time I only knew express js as it was very simple to learn, but I was looking for something different that allowed me to use typescript more efficiently, doing a little research I discovered NestJS and it was love β™₯️ 😻at first sight! Let me explain things Nestjs, A progressive Node.js framework for creating efficient, reliable and scalable server-side applications.

Since I really like to develop API REST, create authentication systems with JWT, Basic Auth or OAuth2, I created a boilerplate with Nestjs from which you have a great base to start developing your APIs in a short time, as an authentication system I used JWT with the use of TypeORM a very powerful ORM to model your database.

This is the link to my repository nestjs-api-boilerplate-jwt

Hopefully it can be useful both for those who know nestjs and for those who have never used it. πŸ˜€ For anything write me in the commentsπŸ˜‰

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay