- Node.js (version 18.x or later)
- npm or yarn or pnpm
git clone https://github.com/Google-Developer-Student-Clubs-ISSATSo/Hackwarts-2.0.git
cd Hackwarts-2.0
# Using npm
npm install
# Or using yarn
yarn install
# Using pnpm
pnpm install
# Using npm
npm run dev
# Or using yarn
yarn dev
# Or using pnpm
pnpm run dev
Open http://localhost:3000 with your browser to see the result.
# Using npm
npm run build
# Or using yarn
yarn build
# Using pnpm
pnpm run build
# Using npm
npm start
# Or using yarn
yarn start
# Using npm
pnpm start
- Clear npm/yarn/pnpm cache if you encounter dependency issues
- Verify your Node.js installation
- Check error logs for specific configuration problems/create-next-app).
- We use PascalCase for components & types + camelCase for variables and functions.
- We use kebab-case for file and folder names.
-
Next.js: React framework for production.
-
TypeScript: Typed JavaScript.
-
Tailwind CSS: Utility-first CSS framework.
-
ESLint: Linter for code quality.
-
Prettier: Code formatter.
-
Zod: TypeScript-first schema declaration and validation library.
-
React Hook Form: Performant, flexible and extensible forms with easy-to-use validation.
-
React Query: Data fetching library for React.
-
Zustand: State management for React.
-
Shadcn-ui: React component library.
- MongoDB: NoSQL database.
- Mongoose: MongoDB object modeling for Node.js.
- NextAuth.js: Authentication library for Next.js.