Skip to content

Alexandre-Herve/oclize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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