{"id":15637774,"url":"https://github.com/megapixel99/knock-off-reddit","last_synced_at":"2025-03-29T20:41:38.796Z","repository":{"id":117659815,"uuid":"343268145","full_name":"Megapixel99/knock-off-reddit","owner":"Megapixel99","description":"For learning purposes only","archived":false,"fork":false,"pushed_at":"2021-03-05T16:33:48.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T21:41:22.960Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Megapixel99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-03-01T02:33:39.000Z","updated_at":"2021-03-05T16:33:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"91ac4377-5e16-4982-843e-fbfe0c8fc0cc","html_url":"https://github.com/Megapixel99/knock-off-reddit","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/Megapixel99%2Fknock-off-reddit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megapixel99%2Fknock-off-reddit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megapixel99%2Fknock-off-reddit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megapixel99%2Fknock-off-reddit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Megapixel99","download_url":"https://codeload.github.com/Megapixel99/knock-off-reddit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246243564,"owners_count":20746307,"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-10-03T11:12:47.946Z","updated_at":"2025-03-29T20:41:38.777Z","avatar_url":"https://github.com/Megapixel99.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Knock Off Reddit\n\nBasic Reddit clone featuring users and mostly functioning Sub Reddits.\nFor learning/teaching purposes only.\n\n### Prepare the environment\n\nIn your Terminal or Command Prompt, run the following at the root of the project directory:\n\n```\n$ npm i --save\n```\n\n### Prepare the environment variables\n\n1. Create a .env file, by renaming the provided sample\n2. Add the required variables\n\n### How to run the project using NodeJS\n\nIn your Terminal or Command Prompt, run the following at the root of the\nproject directory to run the server, which will expose the API:\n\n```\n$ npm start\n```\n\n### How to build the project using Docker\n\nIn your Terminal or Command Prompt, run the following at the root of the\nproject directory to run the server, which will expose the API:\n\n```\n$ docker build --tag  not-reddit .\n```\n\n### How to run the project using Docker\n\nIn your Terminal or Command Prompt, run the following at the root of the\nproject directory to run the server, which will expose the API:\n\n```\n$ docker run -t -p 80:3000 --env-file ./.env not-reddit\n```\n\n### How to test the project using NodeJS\n\nIn your Terminal or Command Prompt, run the following at the root of the\nproject directory to run the tests:\n\n```\n$ npm test\n```\n\n### How to clean up the source code\n\nIn your Terminal or Command Prompt, run the following at the root of the\nproject directory:\n\n```\n$ npm i eslint --save-dev\n```\nthen run (at the root of the\nproject directory):\n\n```\n$ ./node_modules/.bin/eslint . --fix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegapixel99%2Fknock-off-reddit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegapixel99%2Fknock-off-reddit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegapixel99%2Fknock-off-reddit/lists"}