{"id":19359004,"url":"https://github.com/thami88/cloud-computing-individual-assignment","last_synced_at":"2026-07-08T10:30:20.119Z","repository":{"id":119851541,"uuid":"427828119","full_name":"thami88/Cloud-Computing-Individual-Assignment","owner":"thami88","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-14T03:29:13.000Z","size":2286,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T18:44:12.545Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/thami88.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":"2021-11-14T03:28:50.000Z","updated_at":"2021-11-14T03:29:16.000Z","dependencies_parsed_at":"2023-06-03T09:15:34.465Z","dependency_job_id":null,"html_url":"https://github.com/thami88/Cloud-Computing-Individual-Assignment","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/thami88%2FCloud-Computing-Individual-Assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thami88%2FCloud-Computing-Individual-Assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thami88%2FCloud-Computing-Individual-Assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thami88%2FCloud-Computing-Individual-Assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thami88","download_url":"https://codeload.github.com/thami88/Cloud-Computing-Individual-Assignment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240475234,"owners_count":19807292,"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-11-10T07:13:45.130Z","updated_at":"2026-07-08T10:30:18.054Z","avatar_url":"https://github.com/thami88.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mern News-Apps with Docker\n\n## Containers\n\n* `client` with React on `https://localhost:3000` route\n* `server` with Express on `https://localhost:5000` route\n* `mongo` with MongoDB\n\n## Usage\n\nYou can use `docker-compose up -d` command to deploy the container, or for every container separately, you can use `docker-compose up -d [container_name] client server adminmongo`\n\nGet in to container and install more dependecies with `docker exec -it server /bin/sh` or `docker exec -it client /bin/sh` and then `npm install whatewer`.\n\nGet logs from container to check everything is running correctly with `docker logs --tail 50 server` or `docker logs --tail 50 client`\n\nShut down containers with `docker-compose down`.\n\nIf you change `Dockerfile` rebuild container with `docker-compose build server`. Container names are `client`, `server`, `mongo` and `adminmongo`.\n\nAccess React app on `http://localhost:3000` and test the server on `https://localhost:5000/api/message`. Generate your own ssl keys and put them in `/security` folder if you like. Connection to the mongodb is in the `/config/dev.js`. Access adminmongo on `http://localhost:1234`.\n\n\n## Additional notes\n\nTested on Linux Mint 20.1 / Ubuntu 20.04. \n\nFor nodemon restart to work there is `-L` flag in `\"server\": \"nodemon -L server.js\"` in `package.json`. \n\nFor create-react-app to live reload there is `CHOKIDAR_USEPOLLING=true` environment var in `docker-compose.yml`. \n\nFor mongo volume to work in the Windows VirtualBox shared folder there is `volumes: mongodata:`. \n\nNote that `command` in the `docker-compose.yml` overrides the `CMD` in the `Dockerfile`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthami88%2Fcloud-computing-individual-assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthami88%2Fcloud-computing-individual-assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthami88%2Fcloud-computing-individual-assignment/lists"}