Frontend repository for the SHSF work website built with Next.js, TypeScript, and Tailwind CSS.
- Node.js (LTS version recommended)
- npm or bun
- Clone the repository
git clone https://github.com/your-org/shsf-web.git
cd shsf-web
- Install dependencies
npm install
# or
bun install
- Set up environment variables
cp env.local.example .env.local
Edit .env.local
with your configuration values.
- Start the development server
npm run dev
# or
bun dev
The site will be available at http://localhost:3000.
Variable | Description |
---|---|
USE_MOCK_DATA_FOR_DEVELOPMENT |
Set to true to use mock data in development |
GITHUB_APP_ID |
Your GitHub App ID |
GITHUB_PRIVATE_KEY |
Your GitHub App private key |
GITHUB_INSTALLATION_ID |
Your GitHub App installation ID |
# Run production build
npm run build
# or
bun build
# Start production server
npm run start
# or
bun start
- Framework: Next.js 15
- Language: TypeScript
- Styling: Tailwind CSS 4
- UI Components: Radix UI
- Form Handling: React Hook Form
- Validation: Zod
- Content: Content Collections
Project Structure
├── app/
├── assets/ # Assets, resources, and styles
├── components/
├── constants/ # Constants and configuration
├── hooks/
├── layouts/ # Page layouts and structural templates
├── lib/
├── modules/ # Feature-specific page implementations
├── providers/ # Context providers
├── public/
├── services/ # API services and external integrations
├── types/
└── www/ # Content collections
npm run lint
# or
bun lint
This project is licensed under the MIT License - see the LICENSE file for details.
Please read our Code of Conduct before contributing to this project.