Smart Citizen LK is a national digital service platform for Sri Lanka, providing citizens with access to e-services, document verification, smart marketplace, and more. This is the frontend application built with Next.js and React.
- Modern, responsive UI with Tailwind CSS
- Floating AI Chatbot for instant help
- Authentication (register, login, OTP verification)
- Citizen services: Passports, NICs, Birth Certificates, Police Clearance, Payments, etc.
- Admin and GS officer dashboards
- Smart Marketplace for products
- Document verification and wallet
- Newsletter subscription
- Modular, scalable codebase
git clone https://github.com/jeyapragash1/Smart-Citizen.git
cd Smart-Citizennpm install
# or
yarn installnpm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This frontend expects a backend API running at http://127.0.0.1:8000 (see lib/api.ts). Make sure to start the backend server for full functionality.
To build for production:
npm run build
npm startYou can deploy on Vercel or any platform supporting Next.js 16.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
MIT