An open API service indexing awesome lists of open source software.

https://github.com/jajproduction/jajstack

A modern Next.js starter template with a landing page and built-in authentication. Powered by Tailwind CSS, Prisma, and a custom auth setup β€” perfect for launching SaaS apps, dashboards, or personal projects with speed and style.
https://github.com/jajproduction/jajstack

nextjs prisma saas tailwindcss template typescript vercel

Last synced: 6 months ago
JSON representation

A modern Next.js starter template with a landing page and built-in authentication. Powered by Tailwind CSS, Prisma, and a custom auth setup β€” perfect for launching SaaS apps, dashboards, or personal projects with speed and style.

Awesome Lists containing this project

README

          

# πŸš€ JajStack

**JajStack** is a modern fullstack starter template built with **Next.js**, **Tailwind CSS**, **Prisma**, and a **custom authentication system**, all written in **TypeScript**. It’s designed to help you launch landing pages, SaaS products, and internal tools with speed, style, and scalability.

---

## 🧩 Tech Stack

- ⚑️ **Next.js** – App router, server components, API routes
- 🎨 **Tailwind CSS** – Utility-first styling
- 🧱 **shadcn/ui** – Beautiful, accessible UI components
- πŸ› οΈ **Prisma** – Type-safe database ORM
- πŸ” **Custom Auth** – Simple and flexible authentication logic
- πŸ’™ **TypeScript** – Static typing across the stack

---

## πŸ“¦ Features

- πŸ”₯ Beautiful, responsive landing page
- πŸ” Full authentication flow (sign up, sign in, protected routes)
- 🧱 Scalable project structure
- βš™οΈ Pre-configured Prisma with database schema
- 🎯 Type-safe everything
- πŸ§ͺ Ready for testing and production

---

## πŸ› οΈ Getting Started

### 1. Clone the repo

```sh
git clone https://github.com/jajproduction/jajstack.git
cd jajstack
```

### 2. Install dependencies

```sh
npm install
```

### 3. Set up environment variables

Create a `.env` file:

```sh
DATABASE_URL=postgresql://your-db-url
NEXT_PUBLIC_APP_URL=http://localhost:3000
```

### 4. Setup the database

```sh
npx prisma generate
npx prisma db push
```

### 5. Run the dev server

```sh
npm run dev
```

## πŸ§ͺ Custom Auth

This template includes a custom authentication system built from scratch β€” no external auth libraries. It supports:

- πŸ” Credential-based login/signup

- πŸ” Session handling via secure cookies

- πŸ” Protected API and server components

Easily customizable to fit your business logic or integrate third-party auth providers if needed.

## πŸ“„ License

MIT License. Feel free to use and modify for your projects.

## 🀝 Credits

Built with ❀️ by [Jaj](https://jajdollesin.com)