{"id":21512017,"url":"https://github.com/strvcom/ios-nights-backend-api","last_synced_at":"2025-03-17T15:26:07.492Z","repository":{"id":50128137,"uuid":"167159207","full_name":"strvcom/ios-nights-backend-api","owner":"strvcom","description":"Node.js BE API for ios nights","archived":false,"fork":false,"pushed_at":"2021-06-09T13:40:30.000Z","size":445,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":66,"default_branch":"master","last_synced_at":"2025-01-24T01:43:40.405Z","etag":null,"topics":["ios","ios-be","ios-education"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strvcom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-23T09:52:37.000Z","updated_at":"2022-09-26T09:09:24.000Z","dependencies_parsed_at":"2022-09-13T02:10:32.955Z","dependency_job_id":null,"html_url":"https://github.com/strvcom/ios-nights-backend-api","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/strvcom%2Fios-nights-backend-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fios-nights-backend-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fios-nights-backend-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fios-nights-backend-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strvcom","download_url":"https://codeload.github.com/strvcom/ios-nights-backend-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244056776,"owners_count":20390786,"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":["ios","ios-be","ios-education"],"created_at":"2024-11-23T22:25:35.786Z","updated_at":"2025-03-17T15:26:07.467Z","avatar_url":"https://github.com/strvcom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## iOS nights API\n\n[![Build Status](https://travis-ci.com/strvcom/ios-nights-backend-api.svg?token=s4QdpQx7n36q53UZ51Mk\u0026branch=dev)](https://travis-ci.com/strvcom/ios-nights-backend-api)\n\nApi service for iOS nights workshop\n\n`https://ios-nights.herokuapp.com`\n\n### Endpoints\n\n##### Authentication\n| Method | Endpoint | Description | Params | Protected |\n| :--- |:---------- |:------------| :----- | :--: |\n| POST |`/register` | Register user and returns user object with token | `name`, `email`, `password`, `pictureUrl` | - |\n| POST | `/login`   | Login user and returns user object with token    | `email`, `password` | - |\n\n##### User\n| Method | Endpoint | Description | Params | Protected |\n| :--- |:---------- |:------------| :----- | :--: |\n| GET   | `/users/me` | Verify token and returns user object | - | Token |\n| POST  | `/users/me/picture/signed-url` | Get signed url for picture upload |`type` (MIME type) | - |\n| PATCH | `/users/me/picture` | Update user's profile picture | `pictureUrl` | Token |\n\n##### Lectures\n| Method | Endpoint | Description | Params | Protected |\n| :--- |:---------- |:------------| :----- | :--: |\n| GET | `/lectures`   | Return list of lectures | `?page`, `?perPage` - pagination | Token | \n| GET |`/lectures/:id` | Return detail of lecture | `id` - ID of lecture | Token |\n| PATCH | `/lectures/:id/attended` | Update user's lecture attendance | `attended` - `true/false` | Token |\n| PATCH | `/lectures/:id/assignment-done` | Update users' lecture assignment status | `assignmentDone` - `true/false` | Token |\n\n#### Authentication\nFor accessing protected endpoints you need to provide `Authorization` header\n\n`Authorization: Bearer TOKEN`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrvcom%2Fios-nights-backend-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrvcom%2Fios-nights-backend-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrvcom%2Fios-nights-backend-api/lists"}