create-nextart-app
v1.0.2
Published
This is a modern web template that can be used for various purposes and applications, built with Next.js 15.2.1 and React 19.
Maintainers
Readme
NextArt - Modern Web Template for Various Purposes
This is a modern web template that can be used for various purposes and applications, built with Next.js 15.2.1 and React 19.
Quick Start
npx create-nextart-app my-app
cd my-app
npm install
npm run migrate:generate
npm run migrate:push
npm run storage
npm run devTech Stack
- Next.js 15.2.1
- React 19
- TypeScript
- DrizzleORM
- better-sqlite3
- TailwindCSS
- DaisyUI
- Firebase
- JWT Authentication (jose)
- bcrypt for password hashing
- UUID
Environment Variables
This project uses SQLite by default, with options for PostgreSQL and MySQL. Set up the following environment variables:
NODE_ENV=development
SESSION_SECRET=nextart
DATABASE_PATH=./db
FRONTEND_URL=http://localhost:3000
GEMINI_API_KEY=
STORAGE_ROOT=./storage
STORAGE_HOST=localhost
STORAGE_PORT=3001
STORAGE_URL=http://localhost:3001Database Options
When creating a new project, you can choose between:
- SQLite (default)
- PostgreSQL
- MySQL
Database Migrations
To manage database migrations:
# Generate migrations
npm run migrate:generate
# Push migrations to database
npm run migrate:push
# Apply migrations
npm run migrate:upProject Structure
You can start editing the pages by modifying files in the app directory. The pages auto-update as you edit the files.
Development Features
- Modern development with Turbopack
- Type safety with TypeScript
- Database ORM with DrizzleORM
- Secure authentication system with Firebase
- Responsive UI with TailwindCSS and DaisyUI
- Data validation with Zod
Learn More
To learn more about the technologies used in this template:
Deployment
You can deploy this application on any platform that supports Next.js applications.
For optimal performance, we recommend using Vercel: Deploy with Vercel
