r/SpringBoot • u/Affectionate-Hope733 • Jun 17 '24
I've created an open source Spring Boot + Nextjs starter kit
Seeing how these are quite popular currently (mainly in nextjs space) and how one still doesn't exist with spring boot as a backend, I've decided to create one myself.
Here is the repository: https://github.com/NerminKarapandzic/spring-boot-nextjs-starter-kit
There's nothing special about the integration with Nextjs here, you could easily swap it with any frontend framework.
The starter kit includes:
Authentication with email and password
Authentication with oauth2 providers (google, facebook, github, okta)
RBAC
Password reset
Email sending with SMPT, using mailpit locally
Basic s3 integration
Pages for all of the basic user stuff on frontend and so on...
There is a youtube video that I made while building this, if you're interested you can check that out as well:
https://www.youtube.com/watch?v=EbIps-suESk&t=58s&ab_channel=jeanclaudevandebug
2
u/AdamDhahabi Jun 17 '24
Nice! Why Next and not React? Is that common in production?
1
u/Affectionate-Hope733 Jun 18 '24
Using react is probably more common in production, but that will likely change as time goes on, as even the react official docs suggest that you should be using next (who knows if that will change as well)
2
2
u/zarinfam Jun 18 '24
This is great, especially if you want to learn how to use Spring Boot as a full-stack developer.
-7
u/WaferIndependent7601 Jun 17 '24
Where are the tests?
5
u/Affectionate-Hope733 Jun 17 '24
no tests, maybe I'll add them at some point, but I doubt it
-11
u/WaferIndependent7601 Jun 17 '24
Ok so you don’t want to do this on a professional basis. Ok
6
u/Affectionate-Hope733 Jun 17 '24
That's such a weird statement, like, what do you even mean by that
3
3
u/ShinaiTheVietnamese Jun 17 '24
Thank you for sharing, I'll find a way to fit the knowledge into my spring boot beginner brain.