Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/van-fs/calc-server
- Owner: van-fs
- Created: 2019-06-24T16:25:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T20:04:14.000Z (about 2 years ago)
- Last Synced: 2024-11-12T21:52:28.686Z (3 months ago)
- Language: JavaScript
- Size: 49.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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`.