Skip to content

raksiv/nitric-stripe-payments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Dynamically load modules for use in a sample API developed with Nitric.

Usage

Step 1: Install Nitric

Prerequisites
MacOs

Install with homebrew

brew install nitrictech/tap/nitric
Windows

Install with scoop

scoop bucket add nitric https://github.com/nitrictech/scoop-bucket.git
scoop install nitric
Linux

Download as a scripted install via curl.

curl https://nitric.io/install | bash

Note: Complete installation guide can be found here


Step 2: Run the API locally with Nitric

yarn install
nitric run

Step 3: Consume the API

curl --location --request GET 'http://127.0.0.1:9001/apis/main/payment'

You'll receive a redirect status and redirect URL to the Stripe payment gateway.

What's next?

Explore the Nitric framework to learn how to deploy to the cloud and much more.

About

API integration with Stripe payments with Nitric

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published