/lg-coffee

An Interface for Stripe Products. The quickest way bootstrap an e-commerce application without hosting fees.

Primary LanguageJavaScriptMIT LicenseMIT

lg-coffee

code style: prettier Tested with Jest Maintained with lerna



Bootstrap a production ready Ecommerce App. Built with minimal maintaince/ fees in mind. Note: This project depends on Stripe for payment intents

Set up

1. Bootstrap a new project

$ npx lg-init myawesomestore

Once install is complete, update your store's information via the store.js file.

2. Update your Environment Variables

Rename your example.env to .env.local, replace the placeholders with your unique keys and restart your server.

PUBLISHABLE_KEY=stripe_api_key
SECRET_KEY=stripe_secret_key
NEXT_PUBLIC_FACEBOOK_PIXEL_ID=facbook_pixel_id

3. Adding/ Managing products

Easily manage your products via the Products section of your Stripe Dashboard. Updates to Stripe Produts will automatically reflect to your lg-coffee app.

Accept and manage payments via the Stripe Dashboard

While testing on your local machine use

Stripes Test Cards e.g 4242 4242 4242 4242.

All local payment intents will be viewable while viewing the test data on your Stripe Dashboard

Learn more about testing Stripe payments

Contributing

This turned into a full blown app pretty quick, I would love to get some help. Checkout out the Contributing Guide to get involved and learn how to read this repo.

Issues

Please submit any and all issues/ opinions/ thoughts or concerns here

Who uses lg-coffee?

Are you using lg-coffee? I'd love to hear from you! Get in touch with me at 6matbub@gmail.com