krukaleksander / nest-recipes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

Installation

$ npm install

Running the app

# development
$ docker-compose up -d recipesdb

# watch mode
$ docker-compose up -d --build nest-recipes

# e2e tests
$ npm run test:e2e

To run e2e test, firstly you have to change

host: 'recipesdb',

to host: 'recipesdb'

in database.provider.ts

In case of error:

Building nest-recipes error checking context: 'can't stat '/xxx/xxxxx/xxxxx/nest-recipes/data''. ERROR: Service 'nest-recipes' failed to build : Build failed

sudo chmod -R a+rwx /xxx/xxx/xxxx/nest-recipes/data

About


Languages

Language:TypeScript 97.0%Language:JavaScript 1.9%Language:Dockerfile 1.1%