Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashishk1331/pg-backend
https://github.com/ashishk1331/pg-backend
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ashishk1331/pg-backend
- Owner: ashishk1331
- Created: 2024-12-07T13:56:43.000Z (19 days ago)
- Default Branch: main
- Last Pushed: 2024-12-07T14:30:03.000Z (19 days ago)
- Last Synced: 2024-12-07T15:24:19.247Z (19 days ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## API
exposed @ localhost:8000
### Run the API
run the command,
```bash
go run main.go
```### Routes
1. **POST** `/check?question_id=&test_id=`
It takes parameters like question_id and test_id.
The code block is accepted as a JSON object. Code block is found inside the `content` field.
eg:
```json
{
"content": "a, b = 23, 34\nprint(a + b)"
}
```