lg-init v1.1.2-alpha.2
lg-init
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
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago