tRPC API Boilerplate: A Minimalistic Approach to Separate BE-FE Repositories
The tRPC API Boilerplate is a minimalistic solution for developers who prefer to have separate backend and frontend repositories. This boilerplate allows you to easily publish fully typesafe APIs that can be consumed by any frontend.
By using this boilerplate, you can maintain a clear separation between your backend and frontend codebases, making it easier to manage and develop each part independently. This approach is particularly useful when you have different teams working on the backend and frontend, or when you want to reuse the backend for multiple frontend applications.
To set up a local development environment, simply clone the example repository provided, tRPC Frontend Boilerplate. This repository serves as a demonstration of how to consume the APIs created with the tRPC API Boilerplate.
If you prefer not to publish a package, the tRPC API Boilerplate offers an alternative solution. You can use the boilerplate without publishing it as a package, allowing you to keep your code private or restricted to a specific project.
The tRPC API Boilerplate is a valuable tool for developers seeking to streamline their development process by separating backend and frontend repositories. Its simplicity and flexibility make it a great choice for projects of any size.
For more information and detailed instructions, check out the tRPC API Boilerplate documentation on GitHub.
Resources:
License: MIT
Stars: 14Watchers: 0Forks: 0