{"id":19360125,"url":"https://github.com/annastacia-dev/codearn","last_synced_at":"2026-04-08T20:03:16.501Z","repository":{"id":64200605,"uuid":"572405782","full_name":"Annastacia-dev/codearn","owner":"Annastacia-dev","description":"Buy and sell code snippets for UI components","archived":false,"fork":false,"pushed_at":"2023-01-28T13:52:44.000Z","size":1399,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-07-24T23:36:30.928Z","etag":null,"topics":["database","reactjs","ruby"],"latest_commit_sha":null,"homepage":"https://codearn.onrender.com/","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/Annastacia-dev.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":"2022-11-30T07:49:00.000Z","updated_at":"2022-12-14T11:00:55.000Z","dependencies_parsed_at":"2023-02-15T16:45:13.507Z","dependency_job_id":null,"html_url":"https://github.com/Annastacia-dev/codearn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Annastacia-dev/codearn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Annastacia-dev%2Fcodearn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Annastacia-dev%2Fcodearn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Annastacia-dev%2Fcodearn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Annastacia-dev%2Fcodearn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Annastacia-dev","download_url":"https://codeload.github.com/Annastacia-dev/codearn/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Annastacia-dev%2Fcodearn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["database","reactjs","ruby"],"created_at":"2024-11-10T07:17:10.424Z","updated_at":"2026-04-08T20:03:16.483Z","avatar_url":"https://github.com/Annastacia-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CODEARN\n- Codearn is a platform for front-end developers to get ready made UI components and code snippets for their projects.\n- They can also contribute to the platform by adding their own components and code snippets.\n\n\n### Live Link\nhttps://codearn.onrender.com/\n\n## Users\n- There are two types of users in the platform :  **Developers** and **Contributors**., **Developers** can view the components and code snippets and **Contributors** can add their own components and code snippets.\n\n- **Developers** can be of two types : **Free** and **Premium**.\n- **Free** developers can view the templates and code snippets, view source code for free templates but not for premium templates.\n- **Premium** developers can view the templates and code snippets, view source code for free and premium templates.\n\n## Templates\n- Templates are the UI components that are ready made and can be used by developers in their projects.\n- Templates can be of two types : **Free** and **Premium**.\n- **Free** templates are templates uploade by **Admin** and are free to use by **Developers**.\n- **Premium** templates are templates uploaded by **Contributors** and are free to use by **Premium** **Developers**.\n\n#### Sign Up\n- To sign up, a user has to enter their first name, last name, username, email, password and confirm password.\n- The username should be unique and include only letters and numbers.\n- The email should be unique and should be a valid email.\n- The password should be at least 6 characters long and should include at least one uppercase letter, one number and one special character.\n- The confirm password should match the password.\n\n#### Log In\n\n**Sample User Free Account**\n```\nemail : ray@gmail.com\npassword: R@y63\n\n```\n- To change to premium click on the upgrade button on the home page.\n- Enter your phone number and click on send prompt to receive a M-Pesa prompt.\n- After confirming the payment, click on pay this will update you to a premium user and refresh the page.\n\n**Sample User Premium Account**\n```\nemail : jane@gmail.com\npassword: @Jane123\n\n```\n\n**Sample Contributor Account**\n```\nemail : david@gmail.com\npassword: #David45\n\n```\n\n- A contributor can add a template by clicking on the add template button on their dashboard.\n\n**Sample Admin Account**\n```\nemail : superadmin@gmail.com\npassword: @SuperAdmin11\n\n```\n\n- An admin can add a template by clicking on the add template button on their dashboard.\n- An admin can view all templates and edit or delete any template.\n\n- All users can edit their profile.\n- Users can delete their accounts.\n\n#### Templates\n- You can view the details of a template by clicking on the template card.\n- You can view the source code of a template by clicking on the view source code button, if it's free you can view the source code but if it's premium you will be prompted to upgrade to a premium account.\n- You can leave a rating and review for a template by clicking on the Add review button.\n\n#### Set up instructions\n\n- Ruby version 2.6.4\n- Bundler version 2.3.26\n\n- Clone the repository\n- Run `bundle install`\n- Run `rails db:create`\n- Run `rails db:migrate`\n- Run `rails db:seed`\n- Run `npm install --prefix client`\n- Run `foreman start -f Procfile`\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannastacia-dev%2Fcodearn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fannastacia-dev%2Fcodearn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannastacia-dev%2Fcodearn/lists"}