Sign Up
Visit /signup to create a new account. The form includes email and password fields with validation.
Now that your project is configured, let’s start the development server and explore the generated application.
Navigate to your project
cd my-appStart the dev server
npm run devYou’ll see output like:
▲ Next.js 15.x.x- Local: http://localhost:3000- Environments: .env
✓ Starting...✓ Ready in 2.1sOpen in your browser
Visit http://localhost:3000 to see your app.
If you selected Better Auth during setup, your app includes a complete authentication system.
Sign Up
Visit /signup to create a new account. The form includes email and password fields with validation.
Login
Visit /login to sign in with existing credentials. Includes error handling for invalid attempts.
Create an account
Go to http://localhost:3000/signup and register with:
Sign in
After registration, go to http://localhost:3000/login and sign in.
Check the database
Use Drizzle Studio to inspect your data:
npx drizzle-kit studioThis opens a web interface at https://local.drizzle.studio where you can browse your tables and data.
Your project includes these npm scripts:
| Script | Description |
|---|---|
npm run dev | Start development server with hot reload |
npm run build | Build for production |
npm run start | Start production server |
npm run lint | Run ESLint |
| Script | Description |
|---|---|
npx drizzle-kit push | Push schema changes to database |
npx drizzle-kit studio | Open Drizzle Studio GUI |
npx drizzle-kit generate | Generate migration files |
npx drizzle-kit migrate | Run pending migrations |
If you selected BullMQ during setup, your project includes a docker-compose.yml for Redis:
# Start Redis in the backgrounddocker compose up -d
# View logsdocker compose logs -f
# Stop servicesdocker compose downRocketFuel includes shadcn/ui. Add new components with:
npx shadcn@latest add buttonnpx shadcn@latest add cardnpx shadcn@latest add dialogBrowse all available components at ui.shadcn.com.
Edit the schema
Open src/server/db/schema.ts and add or modify tables.
Push changes
npx drizzle-kit pushFor production, use migrations instead:
npx drizzle-kit generatenpx drizzle-kit migrateIf you see connection errors:
DATABASE_URL in your .env filepsqlIf authentication fails:
BETTER_AUTH_SECRET is setBETTER_AUTH_URL matches your dev server URLnpx drizzle-kit push)If port 3000 is busy:
# Find what's using the portlsof -i :3000
# Or use a different portnpm run dev -- -p 3001You now have a working RocketFuel application! Here’s where to go next: