This app simulates an in-person experience in a restaurant where a customer comes in, selects their meals, and completes payment without the intervention of the restaurant's staff.
-
Terminal
You need a Paystack Terminal to complete the payment flow of this app. Kindly make a request via support@paystack.com
-
Gatsby cloud
Gatsby functions was used for all API calls to Paystack. You'll need a Gatsby Cloud account if you want to deploy your copy of this site
-
Pusher account
Pusher was used to manage real-time updates on payment completion. You'll need to create a Pusher Channel to use this feature. Alternatively, you can implement websockets.
-
Clone the project
git clone git@github.com:PaystackOSS/sample-restaurant.git
-
Start developing
Navigate into your new site’s directory and start it up.
cd sample-restaurant/ yarn yarn develop
-
Open the code and start customizing!
Your site should be running at http://localhost:8000!
You should add your environment variable in your
.env
file. Kindly check the.env.sample
file for the required environment variables.