Skip to content

marko-stripe/sa-takehome-project-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Take home project for Solutions Architect applicants

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published