This is simple proxy to Beamer Rest API It implements simple GET request for posts in Beamer system.
Download project or clone.
- NodeJs
- Requestify for HTTP handling
- Nodemon for listening for changes
Run npm install
and define environments:
- port
(win: SET PORT=3000, linux: export PORT=3000)
, defualt port is set to 3000. - beamer api key
(win: SET BEAMER_API_KEY=3000, linux: export BEAMER_API_KEY=3000)
, required. - beamer api key
(win: SET REQUIRED=true, linux: export TRUE=3000)
,defualt is true.
After that run npm run dev
and you got server listening on port 3000.
Go to your browser and paste this link: http://localhost:3000/posts
and you can see your posts live.
Expose entire Beamer API to this proxy.