Skip to content

prateekkumarweb/twopi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwoPi

How to use?

.env file

BASE_URL=http://localhost:3000
BETTER_AUTH_SECRET=<auth_secret>
TWOPI_DATA_DIR=../data
CURRENCY_CACHE_URL=http://localhost:4670
CURRENCY_API_KEY=<currency_api_key>
$ cd twopi-web
$ pnpm install
$ pnpm dlx @better-auth/cli migrate # migrate db used for auth
$ pnpm run dev
# Build for production
$ pnpm run build
$ pnpm run start

Running currency-cache:

$ cd currency-cache
$ source .env
$ RUST_LOG=debug cargo run --release

Releases

No releases published

Packages

No packages published