Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/van-fs/calc-server

Server for calculator demo
https://github.com/van-fs/calc-server

Last synced: 23 days ago
JSON representation

Server for calculator demo

Awesome Lists containing this project

README

        

# Calculator Server

Express-JS server for calculator demo.

## Usage

The server is used with the [calculator app](https://github.com/van-fs/calc-app). It's responsible to serve the Angular application as well as create GitHub issues and retrieve FullStory events.

It does this by responding to `GET` and `POST` requests for the `/issues` route.

- `GET` `/issues/${issueNumber}` - Retrieves FullStory events based on information stored in the GitHub issue
- `POST` `/issues` - Creates a GitHub issue with metadata from FullStory

## Run it yourself

Run the app in development mode.

1. Create a `.env` file with the following settings.

```
GITHUB_USERNAME=
GITHUB_PASSWORD=
FULLSTORY_APIKEY=
```

2. Run `npm install`.
3. Run `npm start`.