Bitcoin Lightning Prediction Market
Go to file
ekzyis 7558655458 refactor: Structure code into different packages
I have put too much code into the same files.

Also, I put everything into the same package: main.

This package is only meant for executables.

Therefore, I have refactored my code to use multiple packages. These packages also guarantee separation of concerns since Golang doesn't allow cyclic imports.
2023-09-10 23:13:08 +02:00
db refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
env refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
lib refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
lnd refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
pages refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
public Respond with 402 Payment Required 2023-09-09 22:52:51 +02:00
server refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
.gitignore Add hot reload for development 2023-09-09 22:52:50 +02:00
MATCHMAKING.md Fix table in MATCHMAKING.md 2023-09-09 22:52:51 +02:00
Makefile refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
README.md Create README + Makefile 2023-09-09 22:52:50 +02:00
docker-compose.yml Mount postgresql.conf 2023-09-09 22:52:50 +02:00
go.mod refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
go.sum refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
hotreload.sh refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
init.sql Remove order_id, add created_at column 2023-09-09 22:52:51 +02:00
main.go refactor: Structure code into different packages 2023-09-10 23:13:08 +02:00
nginx.conf Move nginx.conf into root 2023-09-09 22:52:50 +02:00
postgresql.conf Mount postgresql.conf 2023-09-09 22:52:50 +02:00

README.md

delphi.market

A prediction market using the lightning network: https://delphi.market

Development

See Makefile