Skip to content

I created an ecommerce app using Angular JS and Cosmic JS

Notifications You must be signed in to change notification settings

khanhnamle1994/ecommerce-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular JS Ecommerce App

Angular JS Ecommerce App

An Angular JS ecommerce app that allows you to:

  1. Process orders from customers and accept Stripe payments for goods and services.
  2. Manage inventory in your Cosmic JS Dashboard or in the admin area on the website.

Get Started

Sign up for Cosmic JS to start managing content for your websites and applications faster and easier.

Building and running the server (performs a gulp command prestart):

git clone https://github.com/khanhnamle1994/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

Admin area

Go to http://localhost:3000/#/login to manage your products and orders.

In Production

Deploy to Cosmic JS

Deploy this app to Cosmic JS in a few clicks.

Add Stripe Keys

After you deploy go to Deploy Web App > Set Environment Variables to add your STRIPE_KEY and STRIPE_SECRET environment variables. Screenshot below: Add Env Vars

About

I created an ecommerce app using Angular JS and Cosmic JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published