{"id":23236795,"url":"https://github.com/pratikpc/bunkstur-backend","last_synced_at":"2025-04-05T21:17:39.158Z","repository":{"id":125288190,"uuid":"334500790","full_name":"pratikpc/Bunkstur-Backend","owner":"pratikpc","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-02T20:42:39.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-02-12T00:38:49.517Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pratikpc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-30T20:04:29.000Z","updated_at":"2021-02-02T20:42:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc6a6131-f259-4314-acd6-10428421683c","html_url":"https://github.com/pratikpc/Bunkstur-Backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpc%2FBunkstur-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpc%2FBunkstur-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpc%2FBunkstur-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pratikpc%2FBunkstur-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pratikpc","download_url":"https://codeload.github.com/pratikpc/Bunkstur-Backend/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399897,"owners_count":20932881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T04:12:45.148Z","updated_at":"2025-04-05T21:17:39.138Z","avatar_url":"https://github.com/pratikpc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bunkstur Backend code\n\nWritten in Quarkus\n\n## Developing offline\n---\n### Use [AWS DynamoDB Local](https://hub.docker.com/r/amazon/dynamodb-local)\n```shell script\ndocker run --publish 8000:8000 amazon/dynamodb-local -jar DynamoDBLocal.jar -inMemory -sharedDb\n```\n\n## Create Tables\n---\n### Subjects\n\n1. Name (Partition/Sort Key)\n\n#### AWS Command\n\n```shell script\naws dynamodb create-table \\\n    --table-name subjects \\\n    --attribute-definitions AttributeName=name,AttributeType=S \\\n    --key-schema AttributeName=name,KeyType=HASH \\\n    --billing-mode=PAY_PER_REQUEST\n```\n---\n### Users\n1. UserID (Partition/Sort Key)\n2. Contact information (Attribute) (Email ID or Phone Number. From Firebase JWT Token)\n\n#### AWS Command\n\n```shell script\naws dynamodb create-table \\\n    --table-name users \\\n    --attribute-definitions AttributeName=userid,AttributeType=S \\\n    --key-schema AttributeName=userid,KeyType=HASH \\\n    --billing-mode=PAY_PER_REQUEST\n```\n---\n### Attendance\n1. UserID (Partition Key)\n2. UUID (Sort key)\n3. Subject\n4. Attendance Type (A/P/N)\n    - A: Absent\n    - P: Present\n    - N: No Lecture\n5. Date\n6. Time Start\n7. Time End\n\n#### AWS Command\n\n```shell script\naws dynamodb create-table \\\n    --table-name attendance \\\n    --attribute-definitions AttributeName=userid,AttributeType=S AttributeName=uuid,AttributeType=S \\\n    --key-schema AttributeName=userid,KeyType=HASH AttributeName=uuid,KeyType=RANGE \\\n    --billing-mode=PAY_PER_REQUEST\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikpc%2Fbunkstur-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratikpc%2Fbunkstur-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikpc%2Fbunkstur-backend/lists"}