Inspiration
Pizza Time is a simple open source e-commerce Pizza selling app built with React. I decided to implement some Pangea services to the app.
What it does
It is a simple app which allows:
- a user to register and login
- a user can add items to shopping cart
- a user can remove items
- a user can checkout and make payment via stripe
How we built it
We cloned the original Pizza Time open source repo. We then implemented the Pangea services integration based on the online documentation provided. Specifically, we implemented the Secure Audit Log and Vault services. We used the Vault service to store the Audit token and the Stripe secret.
We used the audit log to record the following events:
- user signup
- user login
- user logout
- user create a checkout session
Challenges we ran into
We encountered few heap out of memory problems and having some some difficulty in sorting out how the nodejs module works. While integrating the Stripe payment service,, we managed to handle the CreateCheckoutSession() which generates the payment URL.
Accomplishments that we're proud of
We are proud of getting the implementation of Pangea services and Stripe working with the Pizza Time app.
What we learned
We learned about the Pangea services and its API integration. Along the way, we learned how the nodejs module and the Stripe integration work.
What's next for A better Pizza Time App with Pangea
- To add the AuthN feature
- To add the Redact feature
Demo link
Refer to the demo link below to access the app. You may create a new user or use this user (chin.chai@gmail.com, password is password) to use the app. In the payment, use the test card number 4242 4242 4242 4242, any future expiry date and 123 as CVC.
Built With
- javascript
- mysql
- pangea
- pm2
- react

Log in or sign up for Devpost to join the conversation.