Logo Lanfrica

BOGCODING/ghana-police-recruitment-portal

Domain:

digital infrastructure

Record type:

software
Creator:
BOG
Host:
# Ghana Police Service Recruitment Portal A comprehensive, production-ready recruitment portal system built with React.js, Next.js, Node.js, Express.js, and PostgreSQL. ## πŸ—οΈ Architecture ``` ghana-police-recruitment-portal/ β”œβ”€β”€ apps/ β”‚ β”œβ”€β”€ backend/ # Express.js API (localhost:5000) β”‚ β”œβ”€β”€ frontend/ # Next.js Applicant Portal (localhost:3000) β”‚ └── admin/ # Next.js Admin Dashboard (localhost:3002) β”œβ”€β”€ shared/ # Shared utilities └── scripts/ # Deployment scripts ``` ## πŸš€ Quick Start ### Prerequisites - Node.js v18+ - pnpm v8+ - PostgreSQL 15+ - Redis 7+ ### Installation ```bash # Clone and install cd ghana-police-recruitment-portal pnpm install # Start PostgreSQL and Redis (via Docker) docker-compose up -d # Copy environment files cp apps/backend/.env.example apps/backend/.env # Run database migrations cd apps/backend && npm run migrate # Start all services cd ../.. && pnpm dev ``` ### Access URLs - **Frontend**: localhost - **Admin Portal**: localhost - **API**: localhost ## πŸ‘€ Super Admin Initialize the super admin account: ```bash curl -X POST localhost ``` Login credentials: - Email: `boneforgames@gmail.com` - Password: `` ## πŸ“‹ Features ### Phase 1 (Complete) - βœ… Project structure and configuration - βœ… Database schema with migrations - βœ… Express.js API with middleware - βœ… JWT authentication - βœ… Redis caching - βœ… WebSocket real-time updates - βœ… Frontend homepage with animations - βœ… Admin login page ### Upcoming Phases - Phase 2: Full authentication system - Phase 3: Voucher system - Phase 4: Multi-step application forms - Phase 5-13: Complete features ## πŸ”’ Security - JWT token authentication - Password hashing with bcrypt - Rate limiting - CORS configuration - Input sanitization - File upload validation ## πŸ“„ License Proprietary - Ghana Police Service