https://github.com/dsha256/sharingan
Fees API in encore (encore.dev) that uses a temporal (temporal.io) workflow started at the beginning of a fee period, and allows for the progressive accrual of fees.
https://github.com/dsha256/sharingan
api encore encore-app encoredev rest-api temporal temporalio
Last synced: 4 months ago
JSON representation
Fees API in encore (encore.dev) that uses a temporal (temporal.io) workflow started at the beginning of a fee period, and allows for the progressive accrual of fees.
- Host: GitHub
- URL: https://github.com/dsha256/sharingan
- Owner: dsha256
- Created: 2024-04-27T19:18:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-11T08:52:31.000Z (11 months ago)
- Last Synced: 2024-12-30T11:56:57.993Z (10 months ago)
- Topics: api, encore, encore-app, encoredev, rest-api, temporal, temporalio
- Language: Go
- Homepage:
- Size: 165 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sharingan - Fees API 🚀
---
#### Fees API in encore (encore.dev) that uses a temporal (temporal.io) workflow started at the beginning of a fee period, and allows for the progressive accrual of fees. At the end of the billing period, the total invoice and bill summation are available.
---
## 🔥 Run locally
1. Clone repo:
```shell
git clone git@github.com:dsha256/pave-coding-challenge-david-shainidze.git
```
2. Install [Temporal](https://learn.temporal.io/getting_started/go/), and run:
```shell
temporal server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true
```
3. Install [Encore](https://encore.dev/docs/install), navigate to the root folder of the project and run:
```shell
go mod tidy
```
```shell
encore run
```
* ### Then you get two endpoints:
- API - http://127.0.0.1:4000
- Development Dashboard http://localhost:9400/sharingan-ynp2
---
# 👀 Want to give it a shot?
Go to the development dashboard (http://localhost:9400/sharingan-ynp2) and the Encore's `API Explorer` wil show you the way 😊💀🤞
## > [ API Explorer](https://encore.dev/docs/observability/dev-dash)