Skip to content

mahmoud63/amon-nodejs-test

Repository files navigation

AMON

This is the architecture of AMON NodeJS Test.

Prerequisites

Setup for development:

  • Clone repository
git clone https://github.com/amontech/amon-nodejs-test.git
  • Use nvm to install node
nvm i
  • Install node dependencies
npm i

Test

  • Unit tests
npm run test:unit
  • Start/stop - restart dependencies
docker-compose down && docker-compose -f docker-compose.test.yml up --build db

Run

  • Run dependencies
npm run dependencies
  • Create DB locally
npm run db:create
  • Start api services
npm run service:api

Stop

docker-compose down

Environment

You can set environment variables in the .env file, you can find examples in .env.sample

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages