Skip to content

This repository handles products hosted on Stripe. It performs payments, subscriptions, and billing. Payment for products from the local database.

Notifications You must be signed in to change notification settings

ElsonOtake/Stripe

Repository files navigation

📗 Table of Contents

📖 Stripe

Stripe

This repository handles products hosted on Stripe. It performs payments, subscriptions, and billing. Payment for products from the local database also.

🛠 Built With

Tech Stack

Client
Server
Database

Key Features

  • Checkout for Stripe products
  • Checkout for local database products

(back to top)

🚀 Live Demo

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Ruby

Setup

Clone this repository to your desired folder:

using HTTPS:

  git clone https://github.com/ElsonOtake/Stripe.git
  cd Stripe

using an SSH key:

  git clone git@github.com:ElsonOtake/Stripe.git
  cd Stripe

using GitHub CLI:

  git clone gh repo clone ElsonOtake/Stripe
  cd Stripe

Install

Set up Postgres and Stripe credentials in .env file

DATABASE_USERNAME=postgres_username
DATABASE_PASSWORD=postgres_password
STRIPE_PRIVATE_KEY=stripe_private_key
STRIPE_PUBLIC_KEY=stripe_publishable_key
STRIPE_SIGNING_SECRET=webhooks_signing_secret

Install this project with:

  bundle install
  rails db:create db:migrate

Usage

To run the project, execute the following command:

  bin/dev

Open http://localhost:3000/ on your browser.

(back to top)

👥 Author

👤 Elson Otake

(back to top)

🔭 Future Features

  • Subscription
  • Billing portal
  • Shopping cart

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Give a ⭐️ if you like this project!

(back to top)

🙏 Acknowledgments

I would like to thank:

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

This repository handles products hosted on Stripe. It performs payments, subscriptions, and billing. Payment for products from the local database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published