Skip to content

Stack-Learner/nextjs-example-project

Repository files navigation

How to run

  • Clone the repository

  • Install all packages by using pnpm i command

  • Add the following env variable in your .env.local

    API_URL=http://localhost:3001
  • Run the following commands

    # To start json server
    pnpm run server
    
    # To start development server
    pnpm run dev

Project Structure

.
├── app (for routing)
├── components (for reusable components)
│ ├── ui
│ └── Others
├── config (configurations)
├── features (not reusable)
│ └── feature01/
│ ├── components
│ ├── hooks
│ └── Feature.tsx
├── lib (utils, types)
│ ├── types.ts
│ └── utils/
│ └── products.ts
└── store (zustand store)

Project Architecture

Click Here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published