Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sjdonado/spooky
Grade student assignments quickly
https://github.com/sjdonado/spooky
Last synced: about 4 hours ago
JSON representation
Grade student assignments quickly
- Host: GitHub
- URL: https://github.com/sjdonado/spooky
- Owner: sjdonado
- Created: 2021-04-18T20:25:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-18T20:38:43.000Z (over 3 years ago)
- Last Synced: 2023-03-11T14:57:14.934Z (over 1 year ago)
- Language: Go
- Size: 3.39 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spooky
> ![golang-logo](spooky.jpg)# How to run?
```bash
./main
```# Input format
## Projects
```json
[
{
"id": 1,
"url": "https://webhook.site/053b3d48-c724-4c39-8d4b-5d31aba0cb2c",
"students": [
{ "code": "200000000", "name": "John Doe" }
],
"endpoints": [
{ "key": "create_user", "path": "/" }
]
}
]
```## Test cases
```json
[
{
"name": "Create user",
"endpoint_key": "create_user",
"method": "POST",
"status_code": 200,
"auth": false,
"params": [
{ "key": "name", "value": "Jhon", "aliases": ["full_name", "first_name", "last_name"]},
{ "key": "username", "value": "john_doe"},
{ "key": "email", "generate": true },
{ "key": "birthdate", "value": "956102016" },
{ "key": "password", "generate": true, "aliases": ["confirm_password"]}
],
"response": [
{ "key": "id", "required": true },
{ "key": "email", "required": true, "match": true },
{ "key": "username", "required": true, "match": true },
{ "key": "auth_token", "required": true, "aliases": ["jwt", "token"] }
]
}
]
```