-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Labels
Description
Description
We need to set up the frontend for the ManageHub project with Next.js 14 and essential dependencies. This will provide a solid foundation for building the hub management system.
Tasks
-
Initialize Next.js 14
- Run the following command to create a Next.js project:
npx create-next-app@latest managehub-frontend
- Select TypeScript when prompted.
- Run the following command to create a Next.js project:
-
Install TailwindCSS
- Install Tailwind and its dependencies:
npm install tailwindcss postcss autoprefixer
- Initialize Tailwind:
npx tailwindcss init -p
- Configure
tailwind.config.jswith the correct content paths.
- Install Tailwind and its dependencies:
-
Install Lucide Icons
- Install Lucide React for icons:
npm install lucide-react
- Install Lucide React for icons:
-
Install Form Handling & Validation
- Install
formikandyupfor form validation:npm install formik yup
- Install
-
Install API Handling & State Management
- Install
axiosfor making API requests:npm install axios
- Install
react-query(TanStack Query) for efficient API data fetching and caching:npm install @tanstack/react-query
- Install
zustandfor state management:npm install zustand
- Install
-
Verify Installation
- Run the development server:
npm run dev
- Ensure everything works correctly without errors.
- Run the development server:
Expected Outcome
A fully functional Next.js 14 setup with TailwindCSS, Lucide icons, Formik/Yup for validation, Axios for API requests, React Query for data fetching, and Zustand for state management.
Additional Notes
- Follow best practices when structuring the project.
- Ensure the dependencies are added to package.json.
- Provide a short setup guide in the README.
- Include an ETA
- Your TG handle
- Join the telegram group: https://t.me/managehubOD
Reactions are currently unavailable