Explore how the EPIC STACK integrates with the Hono framework in this example. It's designed to showcase building secure and efficient web applications.
- **server/****: Contains the Hono server and all server-side logic.
server/
├── middleware/
│ ├── cspnonce.ts
│ ├── epic-logger.ts
│ ├── misc.ts
│ ├── rate-limit.ts
│ ├── remove-trailing_slash.ts
│ └── secure.ts
├── utils
└── index.ts
-
Setup Environment:
- Ensure you have Node.js and npm installed.
- Clone this repository.
- Run
npm installto install dependencies.
-
Development Mode:
- Start the development server with
npm run dev. - Access your application at
localhost:3000or as defined in your configuration.
- Start the development server with
-
Production Mode:
- Build your application with
npm run build - Run
npm run startto start the production server.
- Build your application with