Borderless peer-to-peer loans with social attestation
Built using bloom-starter-react
There are two parts to this app the server-side (express) and client-side (react).
git clone https://github.com/onggunhao/enable.git
cd app
npm run deps
(install dependencies for server and client)- Before starting up the dev server, you will need a
.env
file with these variables set:PORT
,NODE_ENV
, andSESSION_SECRET
. See.env.sample
for an example of where you.env
should be and what your.env
should look like. npm run dev
- Start the express server
- Start ngrok to proxy the express server
- This is so the mobile app can POST share-kit data to the url
- Start the react app
- The
REACT_APP_SERVER_URL
env var is set to the ngrok url.
- The
This will build client and server code and output to the build/
directory
npm run build
npm run start
Commands must be done from the root of the git project.
Assuming that your heroku app is called bloom-starter-react
.
heroku login
heroku git:remote -a bloom-starter-react
git subtree push --prefix bloom-starter-react heroku master