Skip to content

A User management microservice built with Hapi.js

Notifications You must be signed in to change notification settings

armand1m/users-service

Repository files navigation

Users Service

image

This is a microservice built in Node.js using Hapi and RethinkDB with the purpose of handling users.

Development Environment

The development environment is defined in the default docker-compose.yml file.

It uses volumes and nodemon so you don't need to rebuild the image and run the container everytime you do code changes.

Running development environment

$ ./commands/run

Running test suite once

$ ./commands/test 

Logging

$ ./commands/logs 

Production Environment

The production environment is defined in the docker-compose.production.yml file.

It doesn't use volumes nor depends on external files for environment variables or anything. It only returns a reference to the Dockerfile-production in the ./service folder, so the microservices environment can extend the compose file to a main one, and use it to build the image and only run it.

About

A User management microservice built with Hapi.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published