Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The structure #1

Open
2 of 4 tasks
datalek opened this issue Jun 27, 2020 · 0 comments
Open
2 of 4 tasks

The structure #1

datalek opened this issue Jun 27, 2020 · 0 comments

Comments

@datalek
Copy link
Owner

datalek commented Jun 27, 2020

Context

We write many services that do simple stuff like:

  • Read/write to a database.
  • Call other services.
  • Log stuff.

I need a fast and painless way to write and deploy a service, moreover, the service should run fast and resources conserving.

Objective

Find a stack and structure that allows a developer to write and develop a service in a fast and painless way.

Roadmap

  1. Describe the requirements (e.g.: via user stories/job stories and by examples)
  2. Put down some stack solutions.
  3. Let's see how they fit.
  4. Choose one.

Characteristics

  1. Have an easy and intuitive structure
  2. Endpoint as a function approach
  3. Follow the functional programming paradigm
  4. Few dependencies (or none :D)
  5. Ready to be tested

Stack Solutions

Option 1

  • ZIO
  • http4s
  • Circe

Option 2

  • Cats Effect
  • http4s
  • Circe

Operations of a common service

  • Requires some configuration
  • Start a service
  • Exposes one or more endpoints
  • Read/Write on a backing-store
  • Call other service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant