Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpdillingham/AWSPricingExplorer
A microservice for the AWS Pricing Api, written in JavaScript with Express, React, and blueprintjs.
https://github.com/jpdillingham/AWSPricingExplorer
aws aws-pricing blueprintjs express javascript pricing react
Last synced: 3 months ago
JSON representation
A microservice for the AWS Pricing Api, written in JavaScript with Express, React, and blueprintjs.
- Host: GitHub
- URL: https://github.com/jpdillingham/AWSPricingExplorer
- Owner: jpdillingham
- License: gpl-3.0
- Created: 2018-06-30T20:10:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T19:19:03.000Z (over 1 year ago)
- Last Synced: 2024-05-28T14:19:18.850Z (6 months ago)
- Topics: aws, aws-pricing, blueprintjs, express, javascript, pricing, react
- Language: JavaScript
- Homepage:
- Size: 2.66 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS Pricing Explorer
[![Build Status](https://travis-ci.org/jpdillingham/AWSPricingExplorer.svg?branch=master)](https://travis-ci.org/jpdillingham/AWSPricingExplorer/branches)
![license](https://img.shields.io/github/license/jpdillingham/AWSPricingExplorer.svg)A microservice for the AWS Pricing Api, written in JavaScript with Express, React, and blueprintjs.
# Running Locally
First, you'll need [nodejs](https://nodejs.org/en/) installed. Next, you'll need to log in to your AWS account and create a new IAM user (or use an existing one, your call) and add the policy `AWSPriceListServiceFullAccess` to grant access to the pricing api. Note the access key ID and secret access key, you'll need them to configure the app.
Clone the repository with `git clone https://github.com/jpdillingham/AWSPricingExplorer`, then `cd` into the directory that was created.
Create a file named `.env` with the command `touch .env`, then open the file in a text editor of your choosing.
Add the following lines, replacing the placeholders with your credentials:
```
REACT_APP_ACCESS_KEY_ID=
REACT_APP_SECRET_ACCESS_KEY=
```Optionally you can change the port and hostname used to host the backend and access it by adding the following:
```
REACT_APP_BACKEND_PORT=8080
REACT_APP_ROOT_URL=http://localhost
```Start the app with `npm start`. Note that it's set up for development, using the webpack dev server that comes with `create-react-app` and nodemon for the backend. You'll need to do some extra leg work if you want to deploy the app elsewhere.