https://github.com/mildronize/mali-server
Mali Project (Server) : Project Evaluation and Management
https://github.com/mildronize/mali-server
Last synced: about 1 year ago
JSON representation
Mali Project (Server) : Project Evaluation and Management
- Host: GitHub
- URL: https://github.com/mildronize/mali-server
- Owner: mildronize
- Created: 2020-10-26T06:23:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-12T01:44:47.000Z (over 3 years ago)
- Last Synced: 2025-01-23T10:15:41.883Z (over 1 year ago)
- Language: TypeScript
- Size: 1.08 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
```bash
$ npm install
```
## Running the app
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
```
## Test
```bash
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
```
## Nest Cli
```bash
nest g module users
nest g controller users
nest g service users
nest g class users/users.entity
```
## Migration
Use this feature for production
when `"synchronize": false`.
Mirgration stores the procedure to change the DB stucture
```bash
npm run typeorm -- [COMMAND]
# Genarate the change of DB stucture
npm run typeorm -- migration:generate -n [Name_of_Migration]
# Create an empty migration
npm run typeorm -- migration:create -n [Name_of_Migration]
# Execute all migration
npm run typeorm -- migration:run
# Revert all migration
npm run typeorm -- migration:revert
```