|
Website company profile modern berbasis Next.js dengan performa tinggi, keamanan optimal, dan tampilan premium dark mode untuk kebutuhan corporate dan teknologi.
- Framework: Next.js 16 (App Router)
- Bahasa: TypeScript
- Styling: Tailwind CSS v4 + shadcn/ui
- State Management: Zustand
- Validasi: Zod
- Animasi: Framer Motion
- Cache: DragonflyDB (Redis-compatible)
- Database: PostgreSQL 15
- Authentication: Keycloak (OIDC)
- Object Storage: MinIO (S3-compatible)
- Containerization: Docker
Pastikan sudah terinstall:
- Node.js versi 20+
- npm atau yarn
- Docker & Docker Compose
- PostgreSQL
- DragonflyDB / Redis-compatible server
git clone https://github.com/ferdy-s/Company-Profile-RFT.git
cd Company-Profile-RFTnpm installBuat file .env pada root project:
NODE_ENV=development
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/rft_blog
AUTH_SECRET=your-secret-key-minimum-32-character
KEYCLOAK_CLIENT_ID=rft-web
KEYCLOAK_CLIENT_SECRET=your-keycloak-secret
KEYCLOAK_ISSUER=http://localhost:8080/realms/rft
REDIS_URL=redis://:password@localhost:6379
REDIS_PASSWORD=your-redis-password
S3_ENDPOINT=http://localhost:9000
S3_ACCESS_KEY=minioadmin
S3_SECRET_KEY=minioadmin
S3_BUCKET_NAME=blog-images
S3_REGION=us-east-1
NEXT_PUBLIC_APP_URL=http://localhost:3000npm run devBuka browser:
http://localhost:3000npm run build
npm run startdocker-compose up -dStop container:
docker-compose downapp/
components/
lib/
store/
Dockerfile
docker-compose.yml
next.config.ts- App Router Next.js terbaru
- Dark Mode Premium UI
- Responsive Design
- Security Headers
- Redis-Compatible Caching
- Authentication Keycloak
- Docker Ready
- SEO Friendly
- Optimized Performance
npm run dev
npm run build
npm run start
npm run lint- Menggunakan React Server Components
- Client Components menggunakan
"use client" - Zustand digunakan untuk state management frontend
- Framer Motion digunakan untuk animasi modern
Copyright © PT. Reliable Future Technology. All rights reserved.
