Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.58 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.58 KB

Sweetearth

Sweetearth is an eCommerce platform for carbon offset projects, built with React and Rails.

Imgur

Motivation

  • I couldn't find an easy, 3-click carbon offset donation app, so I built one.
  • I wanted to explore the microservices architecture pattern. I identified Stripe & Auth0 as good candidates for services that met the needs of this project.
  • I was curious to learn more about the type of projects people are doing to take of our ecosystem. If you're also curious, Drawdown is a great place to start.

Stack

  • React front-end, createContext and useReducer pattern for global state management
  • Rails and PostgreSQL back-end, Fast_JSON serializers. Back-end repo here.
  • Auth0 implemented for handling authorization
  • Stripe integration for payment handling
  • Deployed through Netlify & Heroku

Features

  • Users can sign up / log in through Auth0, including social login through Google
  • Users can select from 8 curated carbon offset projects to contribute to
  • Users can checkout as a guest or registered user, if registered their email information pre-fills
  • Users can make payments through Stripe
  • Users receive a success animation on payment confirmation, which is animated with Lottie
  • Users receive sign up and payment confirmation emails, handled in Auth0 and Stripe respectively
  • If users are logged in, they can see a history of their transactions

License

MIT © @gortron