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:

  1. a user to register and login
  2. a user can add items to shopping cart
  3. a user can remove items
  4. 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

  1. To add the AuthN feature
  2. 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

Share this project:

Updates