https://github.com/pooranjoyb/nest-rest
Expense Manager Monorepo :)
https://github.com/pooranjoyb/nest-rest
nestjs nestjs-backend postgresql prisma prisma-orm react
Last synced: about 2 months ago
JSON representation
Expense Manager Monorepo :)
- Host: GitHub
- URL: https://github.com/pooranjoyb/nest-rest
- Owner: pooranjoyb
- Created: 2024-05-29T18:03:56.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-13T15:21:32.000Z (almost 2 years ago)
- Last Synced: 2025-08-30T14:39:50.148Z (10 months ago)
- Topics: nestjs, nestjs-backend, postgresql, prisma, prisma-orm, react
- Language: TypeScript
- Homepage:
- Size: 755 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rest API with NestJS and Vite+React

## What's inside?
This Turborepo includes the following packages/apps:
### Apps and Packages
- `api`: a [Nest.js](https://nestjs.com/) app
- `client`: another [React.js](https://vitejs.dev/) app
Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).
### Utilities
This Turborepo has some additional tools already setup for you:
- [TypeScript](https://www.typescriptlang.org/) for static type checking
- [ESLint](https://eslint.org/) for code linting
- [Prettier](https://prettier.io) for code formatting
### Build
To build all apps and packages, run the following command:
```
npm run build
```
### Get Started
To run all apps and packages, run the following command:
- Install Dependencies
```bash
npm install
```
- Generate Prisma Client
```bash
npm run prisma:client
```
- Start the PostgresSQL DB in Docker Container
```bash
# Assuming you have Docker installed.
sudo npm run psql:docker
# Windows Users (Use Administrator Powershell)
npm run psql:docker
```
- Start the Turbo-Repo
```bash
npm run dev
```
#### NestJS will be running in `localhost:3000` and ReactJS FE will be running in `localhost:5173`
- To start Prisma Studio
```bash
npm run prisma:studio
```
## Useful Links
Learn more about the power of Turborepo:
- [Tasks](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks)
- [Caching](https://turbo.build/repo/docs/core-concepts/caching)
- [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching)
- [Filtering](https://turbo.build/repo/docs/core-concepts/monorepos/filtering)
- [Configuration Options](https://turbo.build/repo/docs/reference/configuration)
- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference)