Skip to content

Latest commit

 

History

History
executable file
·
29 lines (19 loc) · 1.4 KB

README.md

File metadata and controls

executable file
·
29 lines (19 loc) · 1.4 KB

Take home project

This is a simple e-commerce application that a customer can use to purchase a book, but it's missing the payments functionality — your goal is to integrate Stripe to get this application running!

Candidate instructions

You'll receive these in email.

Application overview

This demo is written in Python with the Flask framework. You'll need to retrieve a set of testmode API keys from the Stripe dashboard (you can create a free test account here) to run this locally.

We're using the Bootstrap CSS framework. It's the most popular CSS framework in the world and is pretty easy to get started with — feel free to modify styles/layout if you like.

To simplify this project, we're also not using any database here, either. Instead app.py includes a simple case statement to read the GET params for item.

To get started, clone the repository and run pip3 to install dependencies:

git clone https://github.com/marko-stripe/sa-takehome-project-python && cd sa-takehome-project-python
pip3 install -r requirements.txt

Rename sample.env to .env and populate it with your Stripe account's test API keys.

Then run the application locally:

flask run

Navigate to http://localhost:5000 to view the index page.