DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 967,611 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Nest and Next JS configured together for full stack applications.
Akbar Ali
Akbar Ali

Posted on

Nest and Next JS configured together for full stack applications.

Do you love Typescript ?
Do you love Nest JS ?
Do you love Next JS ?
Do you love Prisma ?

The problem

Sometimes we need to work with all of this in a full stack application. But we always configure and build our frontend and backend separately. Then we connect the using APIs.

But it's hard to configure Nest and Next JS together since it takes time.

The solution

What if I told you that I made a boiler plate configured with Typescript, Nest JS, Prisma and Next JS together. We don't have to start our client and server separately and we don't have to worry about the build process. It's only a single command :

yarn start:dev
# or
yarn start
Enter fullscreen mode Exit fullscreen mode

The process

I faced an issue like this in the last week and I surfed through the GitHub all the way which ended up finding nothing useful. Well I love these frameworks and was trying to configure Nestand Nexttogether reading different articles those I found at some corners of the internet.

The result

Finally I completed the boiler plate and named it TNPN (Typescript, Nest JS, Prisma, Next JS). I found it helpful for many projects where I don't want to configure everything from scratch.

Here is the GitHub repo link : TNPN

The conclusion

Hope you find this helpful. Don't forget to leave your comments and contribute to the project if you wish.

Top comments (0)

πŸŒ™ Dark Mode?!

Turn it on in Settings