https://github.com/greenbone/frontend-applicant-task-backend
Backend project for frontend-applicant-task
https://github.com/greenbone/frontend-applicant-task-backend
Last synced: 11 months ago
JSON representation
Backend project for frontend-applicant-task
- Host: GitHub
- URL: https://github.com/greenbone/frontend-applicant-task-backend
- Owner: greenbone
- License: mit
- Created: 2023-07-31T14:52:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-25T07:14:38.000Z (about 1 year ago)
- Last Synced: 2025-05-15T18:47:31.909Z (about 1 year ago)
- Language: Go
- Size: 124 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README

# frontend-applicant-task-backend
This is the backend project for the frontend applicant task (frontend-applicant-task) performed at Greenbone AG.
## Installation
### Locally
> You need to have go installed and set up
- `go mod download` - Install necessary go modules
- `go run ./internal/main.go` - Start server on port 8080
### Docker
- `docker build -t applicant-task-backend:latest .`
- `docker run -p 8080:8080 --name applicant-task-backend-container applicant-task-backend:latest`
## Environment variables
| Key | Required | Default | Description |
|------|----------|---------|----------------------------------|
| PORT | no | 8080 | Port on which the server listens |
## API endpoints (GET)
- `/devices/` - list devices
- `/devices/:id` - list one device by id
- `/devices/:id/vulnerabilities` - list all vulnerabilities of one device
- `/vulnerabilities/` - list all vulnerabilities
## Support
If you need support with your applicant task, please reach out to your contact person at Greenbone.
## License
Copyright (C) 2023 [Greenbone AG](https://www.greenbone.net/)
Licensed under the [MIT](LICENSE).