https://github.com/ditsmod/trpc-monorepo-starter
https://github.com/ditsmod/trpc-monorepo-starter
trpc trpc-client trpc-server
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ditsmod/trpc-monorepo-starter
- Owner: ditsmod
- License: mit
- Created: 2025-09-07T20:06:17.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-07T22:44:53.000Z (10 months ago)
- Last Synced: 2025-09-08T00:23:13.615Z (10 months ago)
- Topics: trpc, trpc-client, trpc-server
- Language: TypeScript
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About the project
This monorepository includes [Ditsmod](https://ditsmod.github.io/en/) applications starter.
All applications are located in `apps/*`.
From start you need to do:
```bash
npm install
```
After that, copy `apps/server/.env-example` to `apps/server/.env`:
```bash
cp apps/server/.env-example apps/server/.env
```
And fill this file.
## Start the web server in develop mode
```bash
npm run start:dev
```
You can check the server operation using `curl`:
```bash
curl -i http://localhost:2021/trpc/post.comments.listComments
```
Or simply by going to [http://localhost:2021/trpc/post.comments.listComments](http://localhost:2021/trpc/post.comments.listComments) in your browser.
By default, the application works with `info` log level. You can change it in the file `apps/server/src/app/app.module.ts`.
## Start the web server in production mode
```bash
npm run build
npm run start-prod
```