Skip to content

hasadna/open-bus-backend

Repository files navigation

Open Bus Backend

Configuration

The following environment variables are required:

  • GITHUB_TOKEN
  • GITHUB_OWNER
  • GITHUB_REPO

Local Development

npm install
node index.js

curl -X POST http://localhost:3001/create-issue -H "Content-Type: application/json" -d '{
  "title": "Sample Title",
  "contactName": "John Doe",
  "contactEmail": "[email protected]",
  "description": "Detailed description of the issue.",
  "environment": "Operating system, software version, hardware specifics.",
  "expectedBehavior": "What you expect to happen.",
  "actualBehavior": "What actually happens.",
  "reproducibility": "Steps to reproduce the issue."
}'

Running with Docker

docker build -t backend .
docker run -it -p 3001:3001 -e GITHUB_TOKEN -e GITHUB_OWNER -e GITHUB_REPO backend

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •