Factorial Metrics

An appplication that calculates factorials of numbers and shows metrics about system performance.

Technologies

  • CockroachDB - Scalable SQL database
  • Redis - In-memory data store
  • Nodejs - Javascript runtime for backend applications
  • GraphQL - Query language for APIs

Frameworks and libraries

Running locally

To run the application locally:

curl -fsS https://raw.githubusercontent.com/hryuk/factorial-metrics/main/docker-compose.yml | docker-compose -f - up

Open http://localhost:3000 with your browser to view the application running.

Development

First, clone the repository and move to de src directory:

git clone https://github.com/hryuk/factorial-metrics.git
cd factorial-metrics/src

Then, start a local instance of CockroachDB and Redis:

docker-compose up -d

Finally, run the development server:

npm run start:dev

Open http://localhost:3000 with your browser to view the application running.