{"id":13818970,"url":"https://github.com/oliveira-andre/open_todoist","last_synced_at":"2025-05-16T04:31:56.606Z","repository":{"id":40030861,"uuid":"253324211","full_name":"oliveira-andre/open_todoist","owner":"oliveira-andre","description":"Open source project inspired on todoist.com build to benefit myself","archived":false,"fork":false,"pushed_at":"2023-01-19T20:00:03.000Z","size":1678,"stargazers_count":14,"open_issues_count":19,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-19T18:45:12.708Z","etag":null,"topics":[],"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/oliveira-andre.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":"2020-04-05T20:18:48.000Z","updated_at":"2024-04-16T00:56:13.000Z","dependencies_parsed_at":"2023-02-06T12:01:07.273Z","dependency_job_id":null,"html_url":"https://github.com/oliveira-andre/open_todoist","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/oliveira-andre%2Fopen_todoist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliveira-andre%2Fopen_todoist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliveira-andre%2Fopen_todoist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliveira-andre%2Fopen_todoist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oliveira-andre","download_url":"https://codeload.github.com/oliveira-andre/open_todoist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254469051,"owners_count":22076420,"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":[],"created_at":"2024-08-04T08:00:36.607Z","updated_at":"2025-05-16T04:31:55.939Z","avatar_url":"https://github.com/oliveira-andre.png","language":"Ruby","funding_links":[],"categories":["Happy Exploring 🤘"],"sub_categories":[],"readme":"# Open Todoist\n\n![logo](./public/open_todoist_logo.png)\n\nThis project is a clone of todoist to benefit who wants to get a open source project and get the same result of this\namazing tecnology\n\n## running project\n\nconfig dotenv variables:\n```\ndb_user=root\ndb_pass=root\ndb_host=postgres\n```\n\nstarting server rails and webpack\n```\nsudo docker-compose up --build\n```\n\ncreate and migrate database:\n```\nsudo docker-compose run --rm web_app rails db:create db:migrate\n```\n\n## How run tests\n\nrspec\n```\nsudo docker-compose run --rm web_app rspec\n```\n\nrubocop\n```\nsudo docker-compose run --rm web_app rubocop -A\n```\n\nbrakeman\n```\nsudo docker-compose run --rm web_app brakeman\n```\n\n## API\n\n### Authenticity token\n\n\u003cdetails\u003e\n  \u003csummary\u003eGet\u003c/summary\u003e\n\n  - curl:\n    ```shell\n    curl -X \"GET\" 'http://localhost:3000' --cookie-jar cookie | grep csrf\n    ```\n\n  - return:\n    ```HTML\n    \u003cmeta name=\"csrf-token\" content=\"+io2dtE6WwojAf+w1Uc0zuObAOOZ7INTyGT5M5wjagWEUw3O5M3fZrun4HHbLYouFDhn5rl5Seuo1PJgCTNJTg==\" /\u003e\n    ```\n\u003c/details\u003e\n\n### Session\n\n\u003cdetails\u003e\n  \u003csummary\u003eCreate\u003c/summary\u003e\n\n  - curl:\n    ```shell\n    curl -kv -H 'Content-Type: application/json' -d '{\"users\": { \"email\": \"root@root.com\", \"password\": \"123456\"}, \"authenticity_token\": \"eZHlcA3MW7i4Kfl6lo4i7wvE6V54x3SZcdIvWYXT5idHpnjTFgA+rjIzFbp78L3jnXLmAnVcSEA2rBHpw7JbOA==\" }' --cookie cookie -X 'POST' \"http://localhost:3000/api/v1/sessions\" | jq\n    ```\n  \n  - status_code: 201 Created\n\n  - return:\n    ```json\n    {\n      \"authentication_token\": \"2yPsyWBjLPci4xoyzaG4\"\n    }\n    ```\n\u003c/details\u003e\n\n### Projects\n\n\u003cdetails\u003e\n  \u003csummary\u003eGet\u003c/summary\u003e\n  \n  - curl:\n    ```shell\n    curl -kv -H 'Content-Type: application/json' -H 'token: 2yPsyWBjLPci4xoyzaG4' --cookie cookie -X 'GET' \"http://localhost:3000/api/v1/projects\" | jq\n    ```\n\n    - status_code: 200 Ok\n\n    - return:\n      ```json\n      []\n      ```\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foliveira-andre%2Fopen_todoist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foliveira-andre%2Fopen_todoist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foliveira-andre%2Fopen_todoist/lists"}