{"id":21340722,"url":"https://github.com/artainmo/camagru","last_synced_at":"2026-04-10T12:33:15.899Z","repository":{"id":93052963,"uuid":"500683025","full_name":"artainmo/camagru","owner":"artainmo","description":"42 school project. Primitive instagram-like web-app.","archived":false,"fork":false,"pushed_at":"2024-10-26T14:47:43.000Z","size":1576,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-11T13:32:39.759Z","etag":null,"topics":["42school","css","docker","docker-compose","email","html","javascript","php","postgresql","web"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/artainmo.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}},"created_at":"2022-06-07T04:01:03.000Z","updated_at":"2024-10-27T11:47:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d132b8f-fc28-4ec4-bacb-03b2f2ed1e48","html_url":"https://github.com/artainmo/camagru","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/artainmo/camagru","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Fcamagru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Fcamagru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Fcamagru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Fcamagru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artainmo","download_url":"https://codeload.github.com/artainmo/camagru/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artainmo%2Fcamagru/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31642925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: 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":["42school","css","docker","docker-compose","email","html","javascript","php","postgresql","web"],"created_at":"2024-11-22T00:52:45.570Z","updated_at":"2026-04-10T12:33:15.881Z","avatar_url":"https://github.com/artainmo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# camagru\n42 school [subject](https://cdn.intra.42.fr/pdf/pdf/72690/en.subject.pdf).\n\nIn this project we have to write a primitive instagram.\n\n### Stack\nServer-side - PHP, PostgreSQL\u003cbr\u003e\nClient-side - HTML, CSS\u003cbr\u003e\nstructure - MVC (unclean see why in Controller/css/style.css)\n\n### Launch\n\nWrite the .env file in same directory as docker-compose.yml file with this content:\n\u003cpre\u003e\nPOSTGRES_HOST=postgres\nPOSTGRES_DB=postgres\nPOSTGRES_USER=postgres\nPOSTGRES_PASSWORD=postgres\nEMAIL_PASSWORD= #My nickname all lowercase + 123$\nCRYPTING_PRIVATE_KEY=AA74CDCC2BBRT935136HH7B63C27\nCRYPTING_SECRET_KEY=5fgf5HJ5g27\n\u003c/pre\u003e\nUsually the content of the .env file should not be given as it breaks the purpose of it. But in this case whereby camagru is an exercise I do not mind giving the codes besides the email password as it already got used by spammers when leaving it public.\n\nFrom root write following command:\n\u003cpre\u003e\ndocker-compose up\n\u003c/pre\u003e\n\nIf wanting to update container with new code before launching:\n\u003cpre\u003e\ndocker-compose build \u0026\u0026 docker-compose up\n\u003c/pre\u003e\n\nOnce launched go in browser to localhost:8000.\n\n### Notes for evaluations\nVisualize the database and encrypted passwords from docker-compose: \u003cbr\u003e\nAccess container terminal from docker app -\u003e type 'psql -U postgres' to access the database with psql -\u003e Do the following SQL command to visualize the account rows 'SELECT * FROM account;'\n\nPictures without overlay-image pdf contradiction:\u003cbr\u003e\ncorrectif -\u003e \"You must be able to set none or multiple overlayImages\"\u003cbr\u003e\nsubject -\u003e \"the button allowing to take the picture should be inactive (not clickable) as long as no superposable image has been selected\"\n\nExplain composer use: See Controller/utils/sendmail.php\n\n### Bugs\n\nIf error occurs when sending emails, it probably means the email address camagru19@hotmail.com got locked, to resolve the problem go unlock it by connecting on outlook to that email account. After you unlocked the account, you may need to wait 5min before you can actually send emails again.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartainmo%2Fcamagru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartainmo%2Fcamagru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartainmo%2Fcamagru/lists"}