{"id":19480248,"url":"https://github.com/amen-souissi/e2e-web-app-tutorial","last_synced_at":"2025-06-20T11:38:01.081Z","repository":{"id":36546692,"uuid":"198046503","full_name":"amen-souissi/e2e-web-app-tutorial","owner":"amen-souissi","description":"end 2 end web app tutorla","archived":false,"fork":false,"pushed_at":"2023-03-03T04:27:03.000Z","size":7603,"stargazers_count":2,"open_issues_count":48,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T15:38:26.808Z","etag":null,"topics":["apollo","apollo-client","apollo-server-express","docker","docker-compose","expo","graphql","material-ui","postgresql","react-native","reactjs","redux","smashtest","subscriptions","tutorial","type-graphql","typescript","websocket"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amen-souissi.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,"zenodo":null}},"created_at":"2019-07-21T11:10:15.000Z","updated_at":"2024-04-13T11:13:23.000Z","dependencies_parsed_at":"2025-04-25T15:39:41.692Z","dependency_job_id":"630480b6-c8e7-49b4-9417-8a140343a599","html_url":"https://github.com/amen-souissi/e2e-web-app-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amen-souissi/e2e-web-app-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amen-souissi%2Fe2e-web-app-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amen-souissi%2Fe2e-web-app-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amen-souissi%2Fe2e-web-app-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amen-souissi%2Fe2e-web-app-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amen-souissi","download_url":"https://codeload.github.com/amen-souissi/e2e-web-app-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amen-souissi%2Fe2e-web-app-tutorial/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260938578,"owners_count":23085921,"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":["apollo","apollo-client","apollo-server-express","docker","docker-compose","expo","graphql","material-ui","postgresql","react-native","reactjs","redux","smashtest","subscriptions","tutorial","type-graphql","typescript","websocket"],"created_at":"2024-11-10T19:58:27.154Z","updated_at":"2025-06-20T11:37:56.064Z","avatar_url":"https://github.com/amen-souissi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Docker permission\n\n```bash\nsudo groupadd docker\nsudo usermod -aG docker \\$USER\nsudo setenforce 0\n```\n\n# Bulid dev\n\n```bash\nsudo docker-compose build\ncd bff\nnpm ci\ncd ../front\nnpm ci\ncd ..\nsudo docker-compose -f docker-compose.yml up\n```\n\n🚀 Server ready at http://localhost:3000\n\n# Local network Linux\n\n```bash\nifconfig -a // in the .env file =\u003e replace 127.0.0.1 by ex: 192.168.1.XX\nsudo docker-compose -f docker-compose.yml up\n```\n\n# Remove\n\n```bash\ndocker-compose down -v\n```\n\n# Start postgres\n\n```bash\ndocker exec -it postgres psql -U \u003cpg-user\u003e\n```\n\n# Dump DB\n\n```bash\ndocker ps // postgres \u003ccontainer-name\u003e\ndocker exec \u003ccontainer-name\u003e pg_dump -U \u003cpg-user\u003e \u003cpg-db\u003e \u003e dump\\_`date +%d-%m-%Y*%H-%M-%S`.sql\n```\n\n# Restor DB\n\n```bash\ndocker ps // postgres \u003ccontainer-name\u003e\ndocker exec \u003ccontainer-name\u003e pg_restor -U \u003cpg-user\u003e -d \u003cpg-db\u003e \u003c \u003cdump-file-name\u003e.sql\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famen-souissi%2Fe2e-web-app-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famen-souissi%2Fe2e-web-app-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famen-souissi%2Fe2e-web-app-tutorial/lists"}