SnakeAid is a specialized platform designed for herpetological incident management, expert-led consultations, and public education. The frontend is built with modern technologies to provide a high-performance, secure, and user-friendly experience for administrators, operators, and the general public.
- 🛡️ Incident & Rescue Management: Real-time tracking and handling of snake encounters and emergency rescue missions.
- 🎓 Expert Consultation: Professional portal for users to seek advice from herpetologists and snake experts.
- 🧠 AI Species Identification: Integrating advanced AI to help identify snake species through imagery.
- 📚 Educational Hub: Extensive library of blog posts and lessons regarding snake species, venom types, and first-aid guidelines.
- 🏥 Resource Directory: Specialized search for antivenoms, hospitals, and treatment facilities.
- 📊 Admin & Analytics: Comprehensive dashboard for user management, financial tracking, and platform analytics.
- 🌍 Multilingual Support: Built with internationalization support with
next-intl.
- Framework: Next.js 16 (App Router)
- Library: React 19
- Language: TypeScript
- Styling: Tailwind CSS
- Form Handling: React Hook Form & Zod
- HTTP Client: Axios
- Interactive Maps: Leaflet
- Data Visualization: Recharts
- Real-time Communication: SignalR
- Testing: Vitest (Unit) & Playwright (E2E)
- Component Library: Storybook
- Node.js: 20 or higher
- npm: 10 or higher
Clone the repository and install dependencies:
git clone <repository-url>
cd SnakeAid.Frontend
npm installCreate a .env.local file in the root directory:
NEXT_PUBLIC_APP_URL=http://localhost:3000Run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
npm run dev: Starts the development server with live reload.npm run build: Compiles the application for production.npm run start: Starts the production server.npm run lint: Analyzes code for quality issues using ESLint.npm run check:types: Performs static type checking.npm run test: Executes unit tests with Vitest.npm run test:e2e: Executes end-to-end tests with Playwright.npm run storybook: Opens the Storybook UI development environment.
src/
├── apis/ # API services and clients
├── app/ # Next.js App Router (pages and layouts)
├── components/ # Reusable UI components
├── constants/ # Global constants and config
├── hooks/ # Custom React hooks
├── libs/ # Library initializations
├── locales/ # Translation files (i18n)
├── styles/ # Tailwind and global CSS
├── types/ # TypeScript definitions
└── utils/ # Helper functions
© 2026 SnakeAid Team. Built with passion for herpetology and safety.