Demo Application

Learn how to create an e-commerce web application using Marqeta API integration.

We'll cover the following

In this lesson, we’ll build a simple Django-based e-commerce web application, which will integrate Marqeta’s Core API. The application will be composed of the following two modules:

  • The e-commerce site allows us to buy items and make payments with our Marqeta cards.
  • An admin module allows us to create users, card products, and cards. It also allows us to view and manage these resources.

Run the application

Step 1: Click the “Run” button to start the application. Click the URL provided in the widget to open the application in a new tab.

Step 2: By default, you’ll see the e-commerce website’s homepage. For the admin module, append /administrator to the homepage URL. This will redirect you to the admin dashboard homepage.

Step 3: On the e-commerce page, you can choose from a variety of items, add them to your cart, and make a payment with your Marqeta card.

On the admin dashboard homepage, you’ll see three buttons—“Users,” “Cards,” and “Card Products.”

  • The “Users” button will redirect you to the users page where you’ll be able to view a list of all users. You’ll also be provided with a button that will redirect you to the user creation page.
  • The “Cards” button will redirect you to a page where you’ll be asked to select a user whose list of cards you want to retrieve. After you select the user and click on the “Get Cards” button, you’ll be redirected to the cards page where you’ll be able to view a list of all cards associated with your selected user. You’ll also be provided with a button that will redirect you to the card creation page.
  • The “Card Products” button will redirect you to the card products page where you’ll be able to view a list of all card products. You’ll also be provided with a button that will redirect you to the card product creation page.

Get hands-on with 1200+ tech skills courses.