Skip to content

LoganSimonsen/ep-ui-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a React App with Material-ui forms designed to collect data needed for getting shipping rates. It uses express server and utilizes the easypost API service to get real time shipping rates for supported carriers (USPS and UPS etc).

Running the app:

fork and clone the repository
npm install
npm start

** Next Update: build out functionality for carrier toggles. Need to pass in carrier account ID's to limit rates to only those the user wishes to see. Will need to use enviromental variables to obscur carrier ID's from users.

In order to use this application you will need an EasyPost Test or Production API key. Register at easypost.com

You will also need to establish carrier accounts and register them on the easypost dashboard at which point you should be given carrier account id's. EasyPost has integrations with multiple shipping carriers, so it is possible to add more carriers and modify the code to support them appropriately.

Running the Node Server:

From the main folder

node server

.env file template:

testkey=(your easypost test API key)
prodkey=(your easypost production key)
USPSAccount=(your USPS carrier account id)
UPSAccount=(your UPS carrier account id)

Remember with .env files no spaces or semi-colons are needed, each variable is on a new line.

Getting Started With EasyPost

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published