1.3.3 • Published 8 months ago

spacerr v1.3.3

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Spacerr Starter Pack

This starter pack provides a comprehensive Next.js setup, built on top of create-next-app, and includes additional features such as:

How to run the project

  1. Install Node.js version ^20.16.0 or later: Node.js
  2. Install pnpm version ^9.0.0 or later: npm install -g pnpm@9.6.0
  3. Install project dependencies - pnpm install
  4. Create a .env file in the root of the project and add the environment variables which is provided in .env.example file.
  5. Generate prisma client - npx prisma generate
  6. Sync database - npx prisma db push
  7. Run the application - pnpm dev

Available commands

  1. pnpm dev: Runs the application in development mode.
  2. pnpm build: Builds the application for production.
  3. pnpm start: Starts the application in production mode.
  4. pnpm lint: Lints the application using ESLint.
  5. pnpm postinstall: Runs the postinstall script to generate Prisma client.
  6. pnpm prepare: Runs the prepare script to set up Husky for Git hooks.

Auth

NextAuth v5 is used for authentication. You can find the documentation here.

Database - ORM

Global state management and data fetching

  • TanStack Query: For powerful data fetching and async state management.
  • Zustand: For global state management.

Type safety and runtime validation

UI Components and Styling

  • Shadcn: A collection of copy paste components for beautiful UI.
  • Tailwind CSS: A utility-first CSS framework for rapid UI development.

Code Styling

  • ESLint: Basic ESLint setup for code quality.
  • Prettier: Code formatting for consistency.
  • VS Code workspace: This workspace is equipped with essential extensions to enhance code quality. Please ensure you install the recommended extensions and work within the workspace.

Additional Information

Once the application is running, you can start developing with a powerful setup already configured. For more details on customizing your environment or extending the starter pack, refer to the documentation of each included tool.

Happy Coding!