Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 604 Bytes

README.md

File metadata and controls

42 lines (33 loc) · 604 Bytes

Oclize

Structure

client

The angular / nativescript web + ios + android application.

server

The nestjs server

Development

Standard run:

SERVER_PORT=3000 docker-compose up

When a new node module was installed:

docker-compose up --build -V

Connect to db:

docker exec -it <container_id>  mongo admin -u root -p rootpassword

Add admin to db:

use oclize
db.createUser({ user: "admin", pwd: "password", roles: [ "readWrite" ]})

Test

Unit

docker-compose run --rm server yarn test:watchAll

E2E

docker-compose run server_e2e_test