https://github.com/maxkrv/usof-be
https://github.com/maxkrv/usof-be
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxkrv/usof-be
- Owner: maxkrv
- License: mit
- Created: 2024-09-30T11:47:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-04T08:56:40.000Z (over 1 year ago)
- Last Synced: 2025-03-14T02:29:08.838Z (over 1 year ago)
- Language: TypeScript
- Size: 669 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Project setup
1. Make a `.env` file by copying values from `.env.example` and filling it with your data
2. Run docker compose
```bash
docker compose up -d
```
3. Install packages
```bash
npm install
```
4. Generate ORM files
```bash
npx prisma generate
```
## Seed DB (if needed)
```bash
npx prisma db seed
```
## Compile and run the project
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
```
## Run tests (There are not any haha)
```bash
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
```