Omni API is a project designed to showcase the speed and efficiency of a very fast API. It demonstrates rapid data retrieval capabilities, making it an ideal example of a high-performance API.
- Very fast search functionality
- Minimal latency for query processing
- Optimized for high performance
- Scalable architecture
- Supports :
- Redis
- Neon DB
- Prisma ORM
- Neon DB(PostgreSQL)
- Next.js (for frontend integration)
- Hono
- CloudFlare Workers
- Upstash
- Clone the repository:
https://github.com/rishabhpandey106/omni-api.git
- Navigate to the project directory:
cd omni-api
- Install dependencies:
npm install
- Set up environment variables: Create a
.env
file and provide the required values. - Set up the
wrangler.toml
file and provide the required vars values. - Deploy the backend on cloudflare workers:
npm run deploy
- Start the development server:
npm run dev
- Send GET requests to
/api/search
with the query parametert
to search for data. Example:GET /api/search?t=your-query-here
- Send GET requests to
/api/search/psql
with the query parametert
to search for data. Example:GET /api/search/psql?t=your-query-here
Contributions are welcome! Fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.