Skip to content
Vue & Flask Bookstore with transactions through Stripe
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
.gitignore
README.md

README.md

  1. Fork/Clone

  2. Sign up for Stripe (if you don't already have an account).

  3. Set the Stripe Secret key as an environment variable:

    $ cd server
    $ export STRIPE_SECRET_KEY=UPDATE_ME
  4. Run the server-side Flask app in one terminal window:

    $ cd server
    $ python3.6 -m venv env
    $ source env/bin/activate OR source/Scripts/active (this depends on your environment)
    (env)$ pip install -r requirements.txt
    (env)$ python app.py

    Navigate to http://localhost:5000

  5. Update stripePublishableKey with the Stripe Publishable key in client/src/components/Order.vue.

  6. Run the client-side Vue app in a different terminal window:

    $ cd client
    $ npm install
    $ npm run dev

    Navigate to http://localhost:8080

You can’t perform that action at this time.