Paas App
dApp Examples
Smart Contracts APIs
git clone https://github.com/saigonbitmaster/paas
cd paas
add .env file for frontend Apps:
REACT_APP_LOGIN_URL=http://localhost:3000/auth/login
REACT_APP_API_URL=http://localhost:3000
add .env file for backend API:
#Mongo
DATABASE_HOST=localhost
DATABASE_PORT=27017
DATABASE_ACCOUNT=admin
DATABASE_PASSWORD=****
#GitHub
GITHUB_TOKEN=****
cd paas
yarn
yarn build-lib
yarn api
yarn cms
yarn web
git clone https://github.com/saigonbitmaster/paas
cd paas
export NODE_OPTIONS="--max-old-space-size=8192"
yarn
yarn build-lib
yarn build-api
yarn build-cms
yarn build-web
modify .env file variables reflect the login and API urls.