Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.32 KB

README.md

File metadata and controls

52 lines (32 loc) · 1.32 KB

Propromo rest microservice

Deployments

https://rest-microservice.onrender.com

Status

https://propromo.openstatus.dev

Development

To start the development server run:

bun run dev

Open http://localhost:3000/ with your browser to see the result.

GitHub GraphQL-Explorer

The Github GraphQL-Explorer can only be used on the GitHub docs domain, because everything else is not in GitHub's CORS policy (docs.github.com).

The window is quite small. I recommend using a Stylus user-css to make it larger. (example).
Use a diacritics remover, if you copied the graphql from somewhere else, before pasting it.

Testing

cov

bun test

Production

Deployment

# build and push the image in . to heroku
heroku container:push web
# deploy the container to heroku using the pushed image
heroku container:release web

Environment variables

process.env.<ENV_VAR_NAME>