Skip to content

ariady-putra/blockfrost-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku React/blockfrost-js

React/blockfrost-js deployed on Heroku, for Porter deployment switch to porter branch. This project was bootstrapped with Create React App.

The scripts in /package.json are meant to be run by Heroku.

"scripts": {
  "start": "cd backend && npm start",
  "build": "cd frontend && npm run build"
}

Heroku-Git workflow

Prerequisite

sudo snap install heroku

Initialization

heroku login
heroku git:remote -a <HEROKU_APP_NAME>

Config vars

Config vars at Heroku app dashboard:

- HEROKU = just an arbitrary boolean to indicate local vs Heroku environment
- BF_PID = Blockfrost API Key

Workflow

git status
git add .
git commit -m "Commit message"
git push heroku main

About

React/blockfrost-js deployed on Heroku and Porter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published