diff --git a/README.md b/README.md new file mode 100644 index 0000000..56444a6 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# HTWK PLANNER + +Scrape information about Seminar Groups and dates. + +### Run with +```bash +go run . serve +``` + +### Go to Admin UI + +` ➜ Admin UI: http://127.0.0.1:8090/_/` + +- create account +- import pb_schema.json + +### Fetch Data from HTWK + +`http://127.0.0.1:8090/api/fetchPlans` + +### View/Filter/Search in Admin UI diff --git a/pb_schema.json b/pb_schema.json new file mode 100644 index 0000000..57920b1 --- /dev/null +++ b/pb_schema.json @@ -0,0 +1,193 @@ +[ + { + "id": "_pb_users_auth_", + "name": "users", + "type": "auth", + "system": false, + "schema": [ + { + "id": "users_name", + "name": "name", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "users_avatar", + "name": "avatar", + "type": "file", + "system": false, + "required": false, + "options": { + "maxSelect": 1, + "maxSize": 5242880, + "mimeTypes": [ + "image/jpeg", + "image/png", + "image/svg+xml", + "image/gif", + "image/webp" + ], + "thumbs": null, + "protected": false + } + } + ], + "indexes": [], + "listRule": "id = @request.auth.id", + "viewRule": "id = @request.auth.id", + "createRule": "", + "updateRule": "id = @request.auth.id", + "deleteRule": "id = @request.auth.id", + "options": { + "allowEmailAuth": true, + "allowOAuth2Auth": true, + "allowUsernameAuth": true, + "exceptEmailDomains": null, + "manageRule": null, + "minPasswordLength": 8, + "onlyEmailDomains": null, + "requireEmail": false + } + }, + { + "id": "7her4515qsmrxe8", + "name": "events", + "type": "base", + "system": false, + "schema": [ + { + "id": "m8ne8e3m", + "name": "Day", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "xnsxqp7j", + "name": "Week", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "7vsr9h6p", + "name": "Start", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "wwpokofe", + "name": "End", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "aeuskrjo", + "name": "Name", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "klrzqyw0", + "name": "EventType", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "5zltexoy", + "name": "Prof", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "gy3nvfmx", + "name": "Rooms", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "hn7b8dfy", + "name": "Notes", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + }, + { + "id": "axskpwm8", + "name": "BookedAt", + "type": "text", + "system": false, + "required": false, + "options": { + "min": null, + "max": null, + "pattern": "" + } + } + ], + "indexes": [], + "listRule": null, + "viewRule": null, + "createRule": null, + "updateRule": null, + "deleteRule": null, + "options": {} + } +] \ No newline at end of file