A modern REST API for the WebProfessionals.org Web Design & Development Contest, built with Hono and OpenAPI documentation.
- Built with Hono framework for high performance
- OpenAPI documentation with Swagger UI
- TypeScript support
- Rate limiting
- Zod schema validation
- Node.js 18 or later
- npm or yarn
- Clone the repository
- Install dependencies:
npm install
To start the development server:
npm run devThe API will be available at http://localhost:3000
The Swagger UI documentation is available at:
To deploy to Cloudflare Workers:
npm run deployReturns a list of upcoming events.
Rate limited to 50 requests per minute per IP address.
[
{
"name": "Location 1",
"location": "10st & Lincoln Ave",
"date": "Jun 5",
"time": "11 AM - 1:30 PM"
},
{
"name": "Location 2",
"location": "Glen Park Fountain",
"date": "Jun 6",
"time": "5 PM - 10 PM"
}
]MIT