Skip to content

SaiCode-DEV/Nuxt-Starter-Template

Repository files navigation

SaiCode's Nuxt Starter Template

A modern, full-stack starter template built with cutting-edge technologies. Everything you need to build amazing web applications with Nuxt 3, Vuetify, and authentication out of the box.

🚀 Features

  • Modern Tech Stack: Built with Nuxt 3, Vuetify, and TypeScript for a robust development experience
  • Authentication System: Secure user authentication and session management
  • Responsive Design: Beautiful Material Design interface that works on all devices
  • Type Safety: Full TypeScript support for enhanced developer experience
  • Database Integration: Prisma ORM for type-safe database operations
  • Modern Tooling: ESLint, hot reloading, and optimized build process

🛠️ Technologies

  • Nuxt 3 - The intuitive Vue framework with SSR and static generation
  • Vuetify - Beautiful Material Design components for Vue.js
  • TypeScript - Type safety and enhanced developer experience
  • Prisma ORM - Type-safe database access with modern ORM capabilities
  • Authentication - Secure user management system
  • Docker - Containerized deployment support

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Docker (optional, for database)

Installation

  1. Clone & Install Dependencies

    git clone <repository-url>
    cd your-project-name
    npm install
  2. Configure Environment

    Copy the environment template and configure your variables:

    cp .env.example .env

    Set up your environment variables for database and authentication.

  3. Database Setup

    This template uses PostgreSQL as the database. You have several options:

    Option A: Using Docker (Recommended)

    docker-compose up -d

    Option B: Local PostgreSQL Installation

    • Install PostgreSQL locally on your machine
    • Create a database named nuxt
    • Update your .env file with your local database credentials

    After setting up PostgreSQL, run database migrations:

    npx prisma migrate dev
  4. Start Development Server

    npm run dev

    Navigate to http://localhost:3000 to see your application running.

📦 Available Scripts

# Development
npm run dev          # Start development server

# Building
npm run build        # Build for production
npm run preview      # Preview production build locally

# Database
npx prisma studio    # Open Prisma Studio database GUI
npx prisma migrate dev    # Run database migrations

# Code Quality
npm run lint         # Run ESLint
npm run type-check   # Run TypeScript checks

🐳 Docker Deployment

The project includes Docker configuration for easy deployment:

# Build and start all services
docker-compose up -d

# View logs
docker-compose logs -f

# Stop services
docker-compose down

📁 Project Structure

your-project-name/
├── components/          # Reusable Vue components
├── composables/         # Vue composables and utilities
├── layouts/            # Application layouts
├── pages/              # File-based routing pages
├── prisma/             # Database schema and migrations
├── server/             # Server-side API routes
├── stores/             # Pinia state management
└── public/             # Static assets

🤝 Contributing

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

📖 Documentation

For more detailed information:

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with ❤️ by SaiCode

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published