Back to community
Preview — replies are illustrative, not live

Show & Tell: my first full-stack project with Next.js + Spring Boot

Asked 5h agoViewed 876 times

Finished a course marketplace clone this weekend using Next.js on the frontend and Spring Boot on the backend, with Keycloak for auth.

The part I'm least confident about is the API design for enrollments — right now enrolling in a course is a POST that also triggers a notification and an XP grant inline, which feels like it should be split up.

Screenshots and repo link in the comments if anyone wants to take a look.

Show & Tell: my first full-stack project with Next.js + Spring Boot
next.jsspring-bootkeycloakproject
DP

Dara P.

Full-stack learner

2 Answers

Accepted answer

This looks great! For the enrollment endpoint, consider firing an application event after the transaction commits instead of calling the notification/XP logic inline — keeps the controller focused on one job.

SK

Sophea K.

Algorithms mentor · answered 4h ago

Clean UI. Did you handle token refresh yourself or use a library for the Keycloak side?

LC

Lina C.

Security enthusiast · answered 3h ago

Posting answers is launching soon. In the meantime, browse courses or challenges.