A crowdfunding service for people who want to make their district better!
This project is currently work in progress
By now this project contains 3 microservices
- Auth: service for storing sensitive data and authenticating users
- Campaign: CRUD service for crowdfunding campaigns
- Payment: service for handling donations via Yookassa
All services are using REST api to communicate.
-
Set environment variables shown below, or create .env file in root directory.
JWT_SECRET=test AUTH_POSTGRES_PASSWORD=test AUTH_POSTGRES_HOST=auth-db CAMPAIGN_POSTGRES_PASSWORD=test CAMPAIGN_POSTGRES_HOST=campaign-db PAYMENT_POSTGRES_PASSWORD=test PAYMENT_POSTGRES_HOST=payment-db
-
Use docker compose to automatically make all three services and postgres instances.
docker compose up