{"id":25656474,"url":"https://github.com/geekelo/cla_portal_api","last_synced_at":"2026-05-15T11:32:01.924Z","repository":{"id":275515134,"uuid":"926198381","full_name":"geekelo/cla_portal_api","owner":"geekelo","description":"The CLA Learning Portal API is a backend service built with Ruby on Rails to support the CLA Learning Portal. This API facilitates user authentication, course management, assignments, and progress tracking for students, facilitators, and administrators.","archived":false,"fork":false,"pushed_at":"2025-12-16T20:42:12.000Z","size":218,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-12-20T10:57:56.932Z","etag":null,"topics":["jwt-authentication","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/geekelo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-02T19:27:33.000Z","updated_at":"2025-03-14T20:59:12.000Z","dependencies_parsed_at":"2025-02-17T16:28:53.512Z","dependency_job_id":"d99ba3e2-f1e7-4a88-9978-db271cd76b20","html_url":"https://github.com/geekelo/cla_portal_api","commit_stats":null,"previous_names":["geekelo/cla_portal_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/geekelo/cla_portal_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekelo%2Fcla_portal_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekelo%2Fcla_portal_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekelo%2Fcla_portal_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekelo%2Fcla_portal_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekelo","download_url":"https://codeload.github.com/geekelo/cla_portal_api/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekelo%2Fcla_portal_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33065295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["jwt-authentication","ruby","ruby-on-rails"],"created_at":"2025-02-23T22:34:45.745Z","updated_at":"2026-05-15T11:32:01.887Z","avatar_url":"https://github.com/geekelo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLA Learning Portal API\n\n## Overview\nThe CLA Learning Portal API is a backend service built with Ruby on Rails to support the CLA Learning Portal. This API facilitates user authentication, course management, assignments, and progress tracking for students, facilitators, and administrators.\n\n## Features\n- User authentication (JWT-based authentication)\n- Role-based access control (Students, Facilitators, Admins)\n- Course and cohort management\n- Assignment creation and submission tracking\n- Live class scheduling and notifications\n- Reporting and progress tracking\n\n## Installation\n### Prerequisites\nEnsure you have the following installed:\n- Ruby (\u003e= 3.0)\n- Rails (\u003e= 7.0)\n- PostgreSQL\n- Redis (for background jobs, if required)\n- Bundler\n\n### Setup\n1. Clone the repository:\n   ```sh\n   git clone https://github.com/your-repo/cla-learning-api.git\n   cd cla-learning-api\n   ```\n2. Install dependencies:\n   ```sh\n   bundle install\n   ```\n3. Configure database:\n   ```sh\n   rails db:create db:migrate db:seed\n   ```\n4. Start the server:\n   ```sh\n   rails server\n   ```\n\n## API Endpoints\n### Authentication\n- `POST /api/v1/signup` - Register a new user\n- `POST /api/v1/login` - Authenticate user and return a token\n- `POST /api/v1/logout` - Log out the current user\n\n### Course Management\n- `GET /api/v1/courses` - Fetch all courses\n- `POST /api/v1/courses` - Create a new course (Admin/Facilitator only)\n- `PUT /api/v1/courses/:id` - Update course details\n- `DELETE /api/v1/courses/:id` - Remove a course (Admin only)\n\n### Assignments\n- `GET /api/v1/assignments` - List all assignments\n- `POST /api/v1/assignments` - Create an assignment (Facilitator only)\n- `POST /api/v1/assignments/:id/submit` - Submit an assignment (Student only)\n\n## Environment Variables\nCreate a `.env` file and configure the following:\n```\nDATABASE_URL=postgres://user:password@localhost:5432/cla_learning_db\nSECRET_KEY_BASE=your_secret_key\nREDIS_URL=redis://localhost:6379/0\n```\n\n## Deployment\n### Docker\n1. Build and run the container:\n   ```sh\n   docker-compose up --build\n   ```\n\n### Heroku\n1. Deploy the app:\n   ```sh\n   git push heroku main\n   heroku run rails db:migrate\n   ```\n\n## Testing\nRun the test suite using:\n```sh\nrspec\n```\n\n## Contributing\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature-name`)\n3. Commit changes (`git commit -m 'Add new feature'`)\n4. Push to the branch (`git push origin feature-name`)\n5. Create a Pull Request\n\n## License\nThis project is licensed under the MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekelo%2Fcla_portal_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekelo%2Fcla_portal_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekelo%2Fcla_portal_api/lists"}