Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moshefortgang/next15-nextauth5-drizzle-shadcn
Full-stack web app template using Next.js 15, React 19, NextAuth 5, Drizzle ORM, Shadcn/UI, PostgreSQL, and Jest. Built with TypeScript for modern, scalable, and type-safe development.
https://github.com/moshefortgang/next15-nextauth5-drizzle-shadcn
drizzleorm jest nextauth5 nextjs15 postgressql react19 shadchui tailwind-css
Last synced: 16 days ago
JSON representation
Full-stack web app template using Next.js 15, React 19, NextAuth 5, Drizzle ORM, Shadcn/UI, PostgreSQL, and Jest. Built with TypeScript for modern, scalable, and type-safe development.
- Host: GitHub
- URL: https://github.com/moshefortgang/next15-nextauth5-drizzle-shadcn
- Owner: moshefortgang
- Created: 2024-12-02T16:28:13.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-12-16T15:37:18.000Z (18 days ago)
- Last Synced: 2024-12-16T16:28:30.752Z (18 days ago)
- Topics: drizzleorm, jest, nextauth5, nextjs15, postgressql, react19, shadchui, tailwind-css
- Language: TypeScript
- Homepage: https://next15-nextauth5-drizzle-shadcn.vercel.app
- Size: 299 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js 15 + NextAuth 5 + Drizzle + Shadcn/UI + Jest
A modern stack for building full-stack web applications with:
- **[Next.js](https://nextjs.org/)** for performance and scalability.
- **[React](https://react.dev/)** for a powerful and flexible UI framework.
- **[Auth.js](https://auth.js.org/)** for authentication.
- **[PostgreSQL](https://www.postgresql.org/)** for reliable and scalable database solutions.
- **[Drizzle ORM](https://orm.drizzle.team/)** for type-safe database management.
- **[Shadcn/UI](https://ui.shadcn.com/)** for beautiful, customizable components.
- **[Jest](https://jestjs.io/)** A testing framework for ensuring your app works as expected.## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/moshefortgang/next15-nextauth5-drizzle-shadcn.git
cd next15-nextauth5-drizzle-shadcn2. Copy the `.env.example` file and rename it to `.env`:
```bash
cp .env.example .env3. Configure the `.env` file with your values:
Open the `.env` file and fill in the following variables:
```env
# Create a Postgres database on Vercel: https://vercel.com/postgres
POSTGRES_URL=your_postgresql_database_url# Generate one here: https://generate-secret.vercel.app/32 (only required for localhost)
AUTH_SECRET=your_secret_keyAUTH_GOOGLE_ID=your_google_client_id
AUTH_GOOGLE_SECRET=your_google_client_secret
4. Apply migrations (if applicable):
```bash
pnpm drizzle:push5. Run the app:
```bash
pnpm dev## Running Tests:
This project uses Jest for unit testing.To run tests, use the following command:
```bash
pnpm test