Sudan Codex is a web application designed to provide FDA drug labeling information for healthcare providers in Sudan. The platform offers easy access to essential drug information, helping medical professionals make informed decisions about medications.
- 📱 Responsive design for all devices
- 🔍 Search functionality for drug information
- ♾️ Infinite scroll for browsing drug list
- 🌓 Dark/Light theme support
- 🔐 User authentication with multiple providers
- 💾 Offline data access using IndexedDB
- Framework: React with TypeScript
- Build Tool: Vite
- Styling: TailwindCSS
- State Management: TanStack Query (React Query)
- Form Handling: React Hook Form with Zod validation
- Offline Storage: Dexie.js (IndexedDB)
- Authentication: Firebase Auth
- Hosting: Firebase Hosting
- Node.js (v18 or higher)
- pnpm (preferred package manager)
-
Clone the repository:
git clone https://github.com/Stbs0/sudan-codex.git cd sudan-codex -
Install dependencies:
pnpm install
-
Create a Firebase project and set up your environment variables.
-
Start the development server:
pnpm dev
pnpm dev- Start development serverpnpm build- Build for productionpnpm test- Run testspnpm test:e2e- Run end-to-end tests
- create
.env,.env.development,.env.productions
Contributions are welcome! Please feel free to submit a Pull Request.
Visit the live application at https://sudancodex.app/
- Add metadata to each page for better SEO
- Find additional drug information sources
- Implement offline-first architecture (PWA)
- Add multi-language support
This project is licensed under the MIT License.