❯ Template developed by Artur Schincariol Rossi
❯ Base frontend template for building application with the NextJS framework.
- Code formatters && Linters (Eslint + Prettier)
- Forms Validations
- Theme selector (Light/Dark Mode)
- User Context
- Notification System
- Pre-built Components: Input (using Composition Pattern), Button, Header, Footer
└── template-frontend-nextjs/
├── LICENSE
├── README.md
├── next.config.mjs
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── public
│ ├── favicon.ico
│ ├── logo-quadrada.png
│ └── logo.png
├── src
│ ├── @types
│ ├── app
│ ├── components
│ ├── contexts
│ ├── layouts
│ ├── styles
│ └── utils
├── tailwind.config.ts
└── tsconfig.json
- NextJS
- ReactJS
- TailwindCSS
- React Hook Form
- RadixUI
- Zod
- Prettier && Eslint
Pages | Access Type |
---|---|
Index | Public Route |
Register | Public Route |
Login | Public Route |
Dashboard | Protected Route, Only logged users can access this route |
Before getting started with template-frontend-nextjs, ensure your runtime environment meets the following requirements:
- Version Control System: Git
- Javascript Runtime: NodeJS
- Package Manager: Npm (Installed with NodeJS)
- Backend: template-backend-nodejs (Needs to be running for use all functionalities)
- Clone the template-frontend-nextjs repository:
❯ git clone https://github.com/Artursrossi/template-frontend-nextjs
- Navigate to the project directory:
❯ cd template-frontend-nextjs
❯ npm install
Set the environment variables by creating a .env file using .env.example
Run template-frontend-nextjs using one of the following methods:
Development environment:
❯ npm run dev
Production environment:
❯ npm run build
❯ npm run start