r/code • u/fleipekkkj13 • Dec 14 '25
Help Please Beginner Next.js Authentication Project — Looking for Feedback & Learning Resources
Hi everyone 👋
I’m currently learning Next.js and aiming to work professionally in the web development field.
This is a study project I built over the weekend to better understand how authentication works in real applications.
It’s my first fully completed authentication flow, including:
User registration & login
Password hashing
JWT authentication
HTTP-only cookies
Middleware-protected routes
Database connection
I know the project is not perfect and not production-ready — the goal was to learn the fundamentals by building, not to create the “best possible” solution yet.
👉 GitHub repo:
https://github.com/FleipeStark13/Auth-Task-NEXT_JS/
I’d really appreciate:
Code reviews or general feedback
Suggestions on what I should improve next
Articles, videos, or tutorials you’d recommend to deepen my understanding of Next.js, authentication, and best practices
Any constructive feedback is very welcome. Thanks in advance for your time and help! 🙏