Skip to content

laduniestu/better-next

Repository files navigation

The Perfect Next.js Starter Kit

This Next.js starter kit includes everything you need to build your awesome product. From authentication to analytics, it's everything you need to launch your project.

Screenshot

Features

  • 💫 Modern UI/UX : Responsive Landing & Dashboard Page
  • 💯️ Fully Type-safe : Typescript, Zod
  • 🔐 Authentication : Email & Password, more soon...
  • 📊 Analytics : Event trigger, Page view
  • 🙎🏼‍♂️ Admin Role: ⏳ coming-soon
  • 💸 Payment : ⏳ coming-soon

Tech Stack

How to Get Started

Start by clicking the "use this template" button on the github repo. We suggest creating a new repository so you can track your code changes. After, clone your own repository down to your computer and start working on it.

Prerequisites

This starter kit does use Docker Compose to run a postgres database, so you will need to have Docker installed, or modify the project to point to a hosted database solution.

How to Run

cp .env.example .env
bun i
docker compose up -d
bunx prisma db push
bun run dev

Roadmap

  • Credentials Authentication

  • Protected Routes

  • Dark/Light Mode

  • Landing Page

  • User Dashboard

  • Update Profile

  • Change Email

  • Change Password

  • Delete Account

  • Analytics

  • Require Email Verification

  • Reset Password

  • Email Verification for Delete Account

  • Email Verification for Change Email

  • OAuth (Github, Google)

  • Magic Link

  • Email OTP

  • Admin

  • Admin Dashboard

  • Upload profile avatar

Contributing

If you find obvious issues with this starter kit, feel free to submit a pull request or submit and issue.

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -m 'Add YourFeature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Submit a Pull Request.

License

Licensed under the MIT license, so feel free to tweak, share, and remix as long as you give the proper shout-out!