Hospital API is a web-based application that provides search functionality for hospital-related data. It allows users to search for hospitals names and retrieve information related to that hospital.
- Theme Toggle: Switch between light and dark themes for better readability.
- Search Functionality: Enter search queries to find countries and view hospital-related information.
- Responsive Design: Ensures optimal viewing and interaction experience across a wide range of devices.
- Fast Api: Create a speedy backend API for hospital data. Optimize endpoints, database queries, and cache frequently used data for faster responses.
-
Frontend:
- React.js
- Next.js
- Tailwind CSS
- TypeScript
-
Backend:
- Cloudflare Workers
- Hono framework
- Upstash Redis
- Clone the repository:
git clone https://github.com/SEIFSEIF4/hospital-api.git
# or
Try APi on brwose https://hospitalapi.onealking151.workers.dev/api/search?q=<input>
- Install dependencies and Start the server:
npm run install
npm run dev
# or
yarn install
yarn dev
# or
pnpm install
pnpm dev
# or
bun install
bun dev
- Open your browser and navigate to
http://localhost:3000
to view the application.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.