An open API service indexing awesome lists of open source software.

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

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`