{"id":46077859,"url":"https://github.com/tuanle03/code_learn_api","last_synced_at":"2026-03-01T15:01:59.949Z","repository":{"id":211962002,"uuid":"730360403","full_name":"tuanle03/code_learn_api","owner":"tuanle03","description":"The CodeLearn API, built with Ruby on Rails, Grape API, JWT, and Swagger, offers a robust backend for a web blog app with CRUD operations. Features include JWT authentication, Swagger documentation, and adherence to Rails best practices.","archived":false,"fork":false,"pushed_at":"2025-11-13T03:34:00.000Z","size":6213,"stargazers_count":3,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-13T04:20:31.956Z","etag":null,"topics":["grape-api","jwt","ruby","ruby-on-rails","swagger-ui"],"latest_commit_sha":null,"homepage":"https://codelearn-api-72b30d70ca73.herokuapp.com/docs","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/tuanle03.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":"2023-12-11T18:51:37.000Z","updated_at":"2025-11-13T03:11:57.000Z","dependencies_parsed_at":"2024-03-30T17:33:27.112Z","dependency_job_id":"68dd2032-dbda-4f5b-9dea-f09591190a0b","html_url":"https://github.com/tuanle03/code_learn_api","commit_stats":null,"previous_names":["tuanle03/code_learn_api"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/tuanle03/code_learn_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuanle03%2Fcode_learn_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuanle03%2Fcode_learn_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuanle03%2Fcode_learn_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuanle03%2Fcode_learn_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuanle03","download_url":"https://codeload.github.com/tuanle03/code_learn_api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuanle03%2Fcode_learn_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29973112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T14:44:57.896Z","status":"ssl_error","status_checked_at":"2026-03-01T14:43:27.662Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["grape-api","jwt","ruby","ruby-on-rails","swagger-ui"],"created_at":"2026-03-01T15:01:59.265Z","updated_at":"2026-03-01T15:01:59.912Z","avatar_url":"https://github.com/tuanle03.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeLearn API\n\nWelcome to the CodeLearn API repository! This project is built using Ruby on Rails, Grape API, JWT (JSON Web Tokens), and Swagger. It provides a robust backend for a web blog application, allowing you to create, retrieve, update, and delete blog posts, comments, and more through a RESTful API.\n\n## Table of Contents\n\n- [Features](#features)\n- [Prerequisites](#prerequisites)\n- [Getting Started](#getting-started)\n  - [Installation](#installation)\n- [JWT Authentication](#jwt-authentication)\n- [API Documentation](#api-documentation)\n- [Interactive Database Queries](#interactive-database-queries)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- User authentication and authorization using JWT.\n- CRUD operations for blog posts, comments, and user profiles.\n- API documentation using Swagger.\n- Consistent and clean codebase following Ruby on Rails best practices.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following prerequisites installed:\n\n- Ruby (version 3.2.0)\n- Ruby on Rails (version 7.0)\n\n## Getting Started\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone git@github.com:tuanle03/code_learn_api.git\n   cd code_learn_api\n   ```\n   \n2. Install dependencies:\n    ```bash\n   bundle\n   ```\n3. Set up the database:\n   ```bash\n   rails db:create db:migrate db:seed \n   ```\n4. Start project\n   ```bash\n   rails s\n   ```\n   \n## JWT Authentication\nThis project uses JSON Web Tokens (JWT) for user authentication. Make sure to include the JWT token in the Token header of your requests:\n   ```bash\n   Token: YOUR_TOKEN\n   ```\n\n## API Documentation\nExplore the API endpoints and test them using the Swagger documentation at `http://localhost:2106/docs`.\n\n![image](https://github.com/tuanle03/code_learn_api/assets/66480375/482d6fa6-a7b4-42d7-8090-f7f458f732ee)\n\n## Interactive Database Queries\nWe use Blazer for running SQL queries on our database. To access the Blazer dashboard, go to `http://localhost:2106/mio`. You can create, save, and run queries interactively. Blazer helps us gain insights into our data and make informed decisions.\n\n![image](https://github.com/tuanle03/code_learn_api/assets/66480375/e41aba68-0703-4f69-9b19-a98cb7a2a763)\n\n\n## Contributing\nWe welcome contributions! If you find a bug or have an enhancement in mind, please open an issue or submit a pull request.\n\n## License\nThis project is licensed under the MIT License.\n\nHappy coding!\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuanle03%2Fcode_learn_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuanle03%2Fcode_learn_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuanle03%2Fcode_learn_api/lists"}