GitXplorerGitXplorer
A

next-template

public
39 stars
2 forks
16 issues

Commits

List of commits on branch main.
Unverified
89090c24d48bfae81620b12c08d967f729ae0bdc

update my username

AAhmedBaset committed 5 months ago
Verified
75a1b65b9ebe418b68737fa784cf8bf7b8721629

Update dependabot.yml

AAhmedBaset committed 9 months ago
Verified
95a5c6cc5c092b1913a97c5729903d2f771a67b1

Merge pull request #152 from A7med3bdulBaset/dependabot/npm_and_yarn/lucide-react-0.301.0

AAhmedBaset committed 9 months ago
Verified
aa80f6cd77525c1ac8719804e9038060914f5e31

chore(deps): bump lucide-react from 0.299.0 to 0.301.0

ddependabot[bot] committed 9 months ago
Verified
dedae0aa2f118d0a6986c5a4435960bcc1e950c2

Merge pull request #153 from A7med3bdulBaset/dependabot/npm_and_yarn/eslint-plugin-prettier-5.1.2

AAhmedBaset committed 9 months ago
Verified
673d69fc255d51e370465ca3ceee305aafa7dd81

Merge pull request #154 from A7med3bdulBaset/dependabot/npm_and_yarn/shadcn-ui-0.5.0

AAhmedBaset committed 9 months ago

README

The README file for this repository.

Next.js Starter Template

This template is up to Next.js 13.5.3. Please run pnpm update --latest after creating your project.

[!NOTE] BTW, dependabot is already configured in the template. this should keep the project up-to-date. Moreover, with your first push to github, It will open PRs to update the dependencies.

CI-check

Create a new project

Copy the command below and run it in your terminal let the magic happen.

# with pnpm (recommended)
pnpm create next-app -e https://github.com/AhmedBaset/next-template my-app

# with npm
npx create-next-app -e https://github.com/AhmedBaset/next-template my-app

# with yarn
yarn create next-app -e https://github.com/AhmedBaset/next-template my-app

Note: When you use this template, VScode will prompt you to install recommended extensions and settings.

Features

  • Next.js 13
  • TypeScript
  • Tailwind CSS
  • shadcn/ui & radix-ui
  • lucide-icons
  • dark/light mode
  • Environment variables type safety Read more in ./env.mjs file
  • Type safty for next/link href

    The experimental typedRoutes feature of Next.js is enabled by default. once you run dev or build command, Next.js will generate a link definition in .next/types that contains information about all existing routes in your application, which TypeScript can then use to provide feedback in your editor about invalid links. Read more

  • Github Action for checking formatting, linting and typechecking
  • VSCode recommended settings & extensions
  • ESLint
  • Prettier with sorting imports
  • Ready to use PWA Read More in next.config.js

Scripts

This template uses pnpm as the package manager. If you want to use other package managers, you can delete pnpm-lock.yaml and run npm install or yarn install.

  • dev: Start the development server
  • build: Build for production
  • start: Start production server
  • preview: build and start production server
  • lint: Lint code
  • format: Format code
  • format:check: Check code formatting
  • typecheck: Check types
  • ci-check: Run all checks

To install a component from shadcn/ui and radix-ui:

pnpm shadcn-ui add <component> [--overwrite]

TODOs:

  • [ ] Configure next-auth
  • [ ] Configure Prisma
  • [ ] Configure Husky, lint-staged