This project is a starter template for building a server-client application using Hono Rpc and TypeScript. It includes a basic setup for serving and consuming a REST API.
Clone the repository:
git clone https://github.com/yourusername/hono-rpc-starter.git
Navigate to the project directory:
cd hono-rpc-starter
Install the dependencies:
pnpm install
Start the server:
pnpm server
The server will start on http://localhost:3000
.
Start the client:
pnpm client
To build the project for production, run:
pnpm build
This will compile the TypeScript files into JavaScript in the dist
directory.
This project is licensed under the MIT License.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
This project uses the Hono framework and the Zod validation library.