Skip to content

The-Microservice-Dungeon/map

Repository files navigation

Map Service

The Map API for The Microservice Dungeon project

Requirements

Setup Dev Environment

With docker

  • Clone the repo
  • Run docker compose up --build

Without docker

  • Clone the repo
  • Make sure you have Ruby 3.0.2 installed by running ruby -v
  • Make sure you have Rails 6.1+ installed by running rails -v
  • Run bundle install to install all dependencies
  • Start your postgresql service
  • Run rails db:setup to setup the postgresql database
  • Run rails db:migrate to run all database migrations
  • Run rails s to start the server

Running tests

  • Run bundle exec rspec to run all spec files

Kafka Producers

  • Run docker compose -f kafkabroker.yml up
  • Run rails s

Produced Kafka messages should now arrive through zookeeper/kafka in docker through 'bootstrap_servers': 'localhost:29092'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages