{"id":20904383,"url":"https://github.com/magnitopic/webexperiments","last_synced_at":"2026-04-13T04:04:30.417Z","repository":{"id":73212870,"uuid":"332004942","full_name":"magnitopic/WebExperiments","owner":"magnitopic","description":"This repo contains code for a website I'm making to learn and get better at web development with NodeJS, express and MongoDB","archived":false,"fork":false,"pushed_at":"2021-10-10T21:08:59.000Z","size":925,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T21:23:08.756Z","etag":null,"topics":["docker","ejs","expressjs","js","json","mongodb","nodejs","scss"],"latest_commit_sha":null,"homepage":"https://limitless-refuge-99811.herokuapp.com/","language":"JavaScript","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/magnitopic.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":"2021-01-22T16:42:41.000Z","updated_at":"2022-08-23T20:01:26.000Z","dependencies_parsed_at":"2023-06-10T03:30:28.353Z","dependency_job_id":null,"html_url":"https://github.com/magnitopic/WebExperiments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/magnitopic/WebExperiments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnitopic%2FWebExperiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnitopic%2FWebExperiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnitopic%2FWebExperiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnitopic%2FWebExperiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnitopic","download_url":"https://codeload.github.com/magnitopic/WebExperiments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnitopic%2FWebExperiments/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269417545,"owners_count":24413384,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","ejs","expressjs","js","json","mongodb","nodejs","scss"],"created_at":"2024-11-18T13:16:56.825Z","updated_at":"2026-04-13T04:04:30.324Z","avatar_url":"https://github.com/magnitopic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebExperiments\r\n# About this project\r\nThis proyect was made for me to lear NodeJS, Express, MongoDB... and any future web technology that I throw into the mix. Each page in this website has it's own gimmick wich helps me learn a new technology or service.\r\n\r\n\r\nYou can see this poryect deployed in Heroku: https://limitless-refuge-99811.herokuapp.com/\r\n\r\n## Available pages \r\n\r\n- [Dice](https://limitless-refuge-99811.herokuapp.com/dice)\r\n- [Dead Pixel Checker](https://limitless-refuge-99811.herokuapp.com/pixel)\r\n- [ESP8266 thermometer](https://limitless-refuge-99811.herokuapp.com/esp)\r\n- [Google Maps](https://limitless-refuge-99811.herokuapp.com/map)\r\n- [Spain's petrol prices](https://limitless-refuge-99811.herokuapp.com/petrol)\r\n- [Nasa's APOD](https://limitless-refuge-99811.herokuapp.com/apod)\r\n\r\n# Install\r\nFor ease of use you can run the project in Docker.\r\n## Install Docker\r\n\r\n![Doker](https://1.bp.blogspot.com/-68aYf9ZNiZk/X33sbaV4AwI/AAAAAAAAFZo/Hf1BCsZT7KAIwbhmPx1yBitJ2LCpXQT-QCLcBGAsYHQ/s0/logo_docker.png)\r\n\r\n- **Windows:** [Docker Desktop on Windows](https://docs.docker.com/docker-for-windows/install/)\r\n\r\n- **MacOS:** [Docker Desktop on Mac](https://docs.docker.com/docker-for-mac/install/)\r\n\r\n- **Linux:** [Choose your distro](https://docs.docker.com/engine/install/#server)\r\n    \r\n    - Or install using the convenience script (CentOS/ Debian/ Fedora/ Raspbian/ Ubuntu):\r\n\r\n        ```bash\r\n        curl -fsSL https://get.docker.com -o get-docker.sh\r\n        sudo sh get-docker.sh\r\n        ```\r\n# Run\r\nOnce Docker is installed, go to the folder where **you cloned the repository** and run the following command:\r\n\r\n__NOTE:__ Don't forget to change the command with your own GOOGLE_API_KEY and NASA_KEY\r\n### Comand for Linux/ MacOS\r\n```bash\r\nsudo docker build -t magnitopic/server:1.0 . \u0026\u0026 sudo docker run --name=mongo -d -v /home/mag:/mongodb_data_volume -p 80:5000 mongo \u0026\u0026 sudo docker run --name node -e DB_URL=mongodb://localhost:27017/NodeServerDB -d --net container:mongo magnitopic/server:1.0 -e GOOGLE_API_KEY=[Insert your GOOGLE_API_KEY] -e NASA_KEY=[Isert your NASA_KEY]\r\n```\r\n### Comad for Windows-\r\n```powershell\r\ndocker build -t magnitopic/server:1.0 . \u0026\u0026 docker run --name=mongo -d -v /home/mag:/mongodb_data_volume -p 80:5000 mongo \u0026\u0026 docker run --name node -e DB_URL=mongodb://localhost:27017/NodeServerDB -d --net container:mongo magnitopic/server:1.0 -e GOOGLE_API_KEY=[Insert your GOOGLE_API_KEY] -e NASA_KEY=[Isert your NASA_KEY]\r\n```\r\n## Server is now runing\r\nGo to http://localhost to see the page.\r\n\r\n[comment]: \u003c\u003e (sudo docker stop node \u0026\u0026 sudo docker rm node \u0026\u0026 sudo docker build -t magnitopic/server:1.0 . \u0026\u0026 sudo docker run --name node -e DB_URL=mongodb://localhost:27017/NodeServerDB -d --net container:mongo magnitopic/server:1.0)\r\n\r\n[comment]: \u003c\u003e (docker stop node \u0026\u0026 docker rm node \u0026\u0026 docker build -t magnitopic/server:1.0 . \u0026\u0026 docker run --name node -e DB_URL=mongodb://localhost:27017/NodeServerDB -d --net container:mongo magnitopic/server:1.0)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnitopic%2Fwebexperiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagnitopic%2Fwebexperiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnitopic%2Fwebexperiments/lists"}