{"id":22997730,"url":"https://github.com/nanafox/members-only","last_synced_at":"2026-04-27T22:32:36.345Z","repository":{"id":266734032,"uuid":"898122997","full_name":"nanafox/members-only","owner":"nanafox","description":"A simple members only social media site. This is part of TheOdinProject Ruby on Rails curriculum","archived":false,"fork":false,"pushed_at":"2025-03-24T16:52:11.000Z","size":294,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T13:24:24.822Z","etag":null,"topics":["authentication","members-only","ruby-on-rails"],"latest_commit_sha":null,"homepage":"https://authpost.lzcorp.tech","language":"Ruby","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/nanafox.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":"2024-12-03T20:38:07.000Z","updated_at":"2025-01-29T01:31:47.000Z","dependencies_parsed_at":"2024-12-25T11:19:12.259Z","dependency_job_id":"d1bc0930-52b2-4436-aa1d-49743834aebb","html_url":"https://github.com/nanafox/members-only","commit_stats":null,"previous_names":["nanafox/members-only"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nanafox/members-only","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanafox%2Fmembers-only","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanafox%2Fmembers-only/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanafox%2Fmembers-only/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanafox%2Fmembers-only/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanafox","download_url":"https://codeload.github.com/nanafox/members-only/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanafox%2Fmembers-only/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32358509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"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":["authentication","members-only","ruby-on-rails"],"created_at":"2024-12-15T06:08:15.915Z","updated_at":"2026-04-27T22:32:36.330Z","avatar_url":"https://github.com/nanafox.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Members-Only (AuthPost) Project\n\nThis project is part of [The Odin Project](https://theodinproject.com)\nRuby on Rails curriculum. It demonstrates how to build a basic authentication\nsystem and a private content-sharing platform. Users can log in and post\nmessages, but only authenticated users can view the authors of those messages.\nThe project emphasizes working with associations, validations,\nand authentication in Rails.\n\n## Features\n\n- **User Authentication**:\n\n  - Users can sign up, log in, and log out.\n  - Passwords are securely hashed using Devise.\n\n- **Post Management**:\n\n  - Logged-in users can create, edit, and delete posts.\n  - Public users can view posts but cannot see the post authors.\n\n- **Authorization**:\n  - Post authorship is hidden from users who are not logged in.\n  - Secure routes ensure only authenticated users can access protected resources.\n\n## Technologies Used\n\n- **Ruby on Rails**: Backend framework for creating the application.\n- **PostgreSQL**: Database for storing user and post data.\n- **Devise**: For handling user authentication.\n- **Action Text**: To enable rich-text editing for posts.\n- **Bootstrap**: For responsive styling and design.\n\n## Getting Started\n\nFollow these steps to set up the project locally:\n\n### Prerequisites\n\n- Ruby 3.3.x\n- Rails 8.0.x\n- PostgreSQL\n- Node.js and Yarn (for Rails asset pipeline)\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/nanafox/members-only.git\n   cd members-only\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   bundle install\n   yarn install\n   ```\n\n3. Set up the database:\n\n   ```bash\n   rails db:create\n   rails db:migrate\n   rails db:seed\n   ```\n\n4. Start the Rails server:\n\n   ```bash\n   rails server\n   ```\n\n5. Visit the application at `http://localhost:3000`.\n\n## Testing\n\nThe application uses Minitest for testing. To run the tests, use:\n\n```bash\nrails test test:system\n```\n\n## Future Improvements\n\n- Implementing role-based access control (e.g., admin privileges).\n- Adding pagination to handle large datasets of posts.\n- Enhancing the UI/UX with more advanced CSS or frontend frameworks.\n\n## Acknowledgments\n\nThis project was inspired by **The Odin Project**. The curriculum provides an\nexcellent foundation for web development and Rails expertise.\nLearn more at [theodinproject.com](https://theodinproject.com).\n\n## License\n\nThis project is open source and available under the MIT License.\nSee the `LICENSE` file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanafox%2Fmembers-only","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanafox%2Fmembers-only","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanafox%2Fmembers-only/lists"}