https://github.com/soixantecircuits/bifrost
A cache gateway for posting in the past
https://github.com/soixantecircuits/bifrost
Last synced: 3 months ago
JSON representation
A cache gateway for posting in the past
- Host: GitHub
- URL: https://github.com/soixantecircuits/bifrost
- Owner: soixantecircuits
- Created: 2015-10-22T07:05:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-22T16:43:33.000Z (almost 9 years ago)
- Last Synced: 2025-03-19T12:03:02.339Z (3 months ago)
- Language: JavaScript
- Homepage: http://soixantecircuits.fr
- Size: 15 MB
- Stars: 2
- Watchers: 12
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bifrost

# DescriptionBifrost cache and queue your POST request when internet is down. It will try to forward your query to the desired endpoint, if it fail it will save the POST data and try to update them periodically.
It will forward the response as it is.# Installation
`git clone [email protected]:soixantecircuits/bifrost.git && cd bifrost`
`npm install`
### Config
Create a app/config/config.json file based on app/config/config.example.json :
`cp app/config/config.example.json app/config/config.json``npm start`
You should see in the log a line with the port and adress where bifrost is running.
`bifrost 0.0.1 is running on http://192.168.1.10:9090`
Now you can post directly their and do not worry about the connectivity.
# Docs
You can check the future wiki.
# Test
`npm test` uses newman to post 2000 requests
# Dev mode
in /app/config/config.json, set `dev > mode` to `true` to perform fake requests