Skip to content

GoPeanutGames/peanuhub-nodejs-test

Repository files navigation

PeanutHub

This is the architecture of PeanutHub NodeJS Test.

Prerequisites

Setup for development:

  • Clone repository
git clone https://github.com/PeanutHubGames/peanuhub-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

Credits

PeanutHub Dev Team

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages