Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 days 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 (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T18:10:31.000Z (6 months ago)
- Last Synced: 2024-05-22T19:31:49.607Z (6 months ago)
- Topics: api, encore, encore-app, encoredev, rest-api, temporal, temporalio
- Language: Go
- Homepage:
- Size: 161 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
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 [email protected]: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)