A single-page dashboard application for Buyte - digital wallet payment orchestration, built with CRA, altered with Rescripts and powered by GraphQL and Serverless Functions
See walkthrough images of Buyte Dashboard
These instructions will get you a copy of the project built for deployment or local development.
- Node.js 10.0+
- Clone the repository
git clone git@github.com:rsoury/buyte-dashboard.git
- Install Node.js Dependencies:
yarn
- Copy your
aws-exports.js
file from your Amplify Environment to this project's Root Directory - Copy
.env.example
to.env
,.env.development
or.env.production
and configure you environment settings. yarn build
- Deploy your React App. Netlify is a great service for hosting static websites
- Deploy your Serverless Functions
sls deploy --stage prod --env production --region ap-southeast-2
- In one tab, start your React App -
yarn start
- In another tab, start your offline serverless API -
yarn start:connect
It is important to configure your Cognito App Client to allow the correct OAuth Flows, and use the correct Callback URL(s) and Sign out URL(s).
Here is an example App Client configuration.
Please be sure to configure the App Client with the Client ID referenced in your aws-exports.js
file.
Simply fork this repo and make it your own, or create a pull request and we can build something awesome together!
Whether you're looking to integrate a Legacy Payment Processor or Banking API, or looking for managed deployment and operation in your cloud, you can contact us at Web Doodle to discuss tailored solutions.
Star this project ⭐️⭐️⭐️, and feel free to follow me on Github, Twitter or Medium