An Angular JS ecommerce app that allows you to:
- Process orders from customers and accept Stripe payments for goods and services.
- Manage inventory in your Cosmic JS Dashboard or in the admin area on the website.
Sign up for Cosmic JS to start managing content for your websites and applications faster and easier.
git clone https://github.com/cosmicjs/ecommerce-app
cd ecommerce-app
npm install
COSMIC_BUCKET=your-bucket-slug READ_KEY=your-read-key WRITE_KEY=your-write-key STRIPE_KEY=your-public-key STRIPE_SECRET=your-private-key npm start
Then go to http://localhost:3000
Go to http://localhost:3000/#/login to manage your products and orders.
Deplow to Now from the root folder:
now
More information can be found on the Now website.
Deplow to Heroku from the root folder:
heroku create
git push heroku master
More information can be found on the Heroku website.
After you deploy go to the resective area in either service to add your STRIPE_KEY
and STRIPE_SECRET
environment variables.