Skip to content

dadon/push_gifts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

push.gifts

API and frontend for MinterPush Hackathon

Backend setup

To run the local version of api, browse to the backend folder and run:

docker-compose up

To run api in production you need to set the following environment variables:

  • BACKGROUND - flag for launching background services (status update from minter, currency exchange rate update)
  • MINTER_NODE - url to minter node
  • ENCRYPTION_KEY - key for encrypting the wallets created
  • CURRENCY_API_KEY - Api key for [openexchangerates.org](https://openexchangerates.org) to obtain currency rates.
  • BIP_TO_PHONE_KEY - api key for [biptophone.ru](https://biptophone.ru).
  • TWILLIO_SID, TWILLIO_TOKEN - credentials for sending sms
  • SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS, SMTP_FROM - credentials for email

Frontend setup

To run the local version of site, browse to the frontend folder, set the following environment variables:

  • VUE_APP_API - url to backend server
  • VUE_APP_SITE - site url

And run:

npm install
npm run serve

To bundle frontend for production:

npm run build

License

ISC

About

API and frontend for MinterPush Hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published