This repository contains the Next.js site for the HSN Hacks hackathon.
- Node.js 18.17+ (or the version bundled with the latest LTS release)
- npm 9+ (bundled with Node.js) or Yarn 1.x/2.x
- Install dependencies:
npm install
- Start the local development server:
npm run dev
- Visit
http://localhost:3000to view the site. Edits inside theapp/directory hot-reload automatically.
app/- App Router pages, layouts, and shared UI (_components/).public/- Static assets such as sponsor logos and the favicon.stylesare managed via Tailwind classes declared inapp/globals.css.
npm run dev- Launches the Next.js development server.npm run build- Creates an optimized production build in.next/.npm start- Serves the production build locally (runs afternpm run build).npm run lint- Runs ESLint using the Next.js configuration.
No secrets are required for the basic site. If you add APIs or dynamic features, store any keys in a .env.local file (ignored by git) and read them with process.env.
- Build the project:
npm run build
- Deploy the
.nextoutput to your hosting provider.
Recommended: Deploy with Vercel. Connect your repository, set the framework to Next.js, and Vercel will handle builds automatically.
For other platforms, ensure Node.js 18+ is available, run npm install followed by npm run build, and start the server with npm start.