https://github.com/atzomx/kofi-server
App server for datting
https://github.com/atzomx/kofi-server
apollo-server-express expressjs mongoose typegraphql typescript
Last synced: 2 months ago
JSON representation
App server for datting
- Host: GitHub
- URL: https://github.com/atzomx/kofi-server
- Owner: atzomx
- Created: 2022-09-27T02:32:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-06T03:19:47.000Z (almost 2 years ago)
- Last Synced: 2024-07-12T19:35:36.010Z (10 months ago)
- Topics: apollo-server-express, expressjs, mongoose, typegraphql, typescript
- Language: TypeScript
- Homepage:
- Size: 942 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
For run locally we need a run mongodb and redis container
```
docker-compose up -d -f docker-compose-install.yml
```- `-d` means **detached**
## Mongo DB URL Local
```
mongodb://localhost:27017/kofi-database
```## Redis URL Local
```
localhost:6379
```## Build only the app
```
docker build -t kofi-app-prod .
```## Getting Started
First, run the development server:
```bash
yarn install
yarn dev:start
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Tests Coverage
How to run tests with coverage?
`yarn test:coverage`See folder `coverage/Icov-report/index.html`
## Run seed
`npx cross-env NODE_ENV=dev ts-node -r tsconfig-paths/register ./src/tests/scripts/seed.ts`