{"id":22189872,"url":"https://github.com/robpruzan/wecode","last_synced_at":"2026-04-11T06:03:11.050Z","repository":{"id":64917687,"uuid":"579474557","full_name":"RobPruzan/WeCode","owner":"RobPruzan","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-17T08:05:43.000Z","size":1993,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T20:33:32.151Z","etag":null,"topics":["django","postgresql","react","typescript"],"latest_commit_sha":null,"homepage":"https://main.dlj9861zt9mlo.amplifyapp.com/","language":"TypeScript","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/RobPruzan.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}},"created_at":"2022-12-17T20:19:13.000Z","updated_at":"2023-07-07T03:38:42.000Z","dependencies_parsed_at":"2023-02-10T08:31:46.793Z","dependency_job_id":null,"html_url":"https://github.com/RobPruzan/WeCode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RobPruzan/WeCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobPruzan%2FWeCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobPruzan%2FWeCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobPruzan%2FWeCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobPruzan%2FWeCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobPruzan","download_url":"https://codeload.github.com/RobPruzan/WeCode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobPruzan%2FWeCode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259542188,"owners_count":22873769,"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":["django","postgresql","react","typescript"],"created_at":"2024-12-02T11:39:13.597Z","updated_at":"2025-12-30T22:36:24.614Z","avatar_url":"https://github.com/RobPruzan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to the programmers network!\n\nThis social media app specifically designed for coders to connect and share ideas.\n\u003cimg width=\"1440\" alt=\"image\" src=\"https://user-images.githubusercontent.com/97781863/212740179-5cc3403f-bab8-45f3-8d9e-19da4995fee5.png\"\u003e\nLink- https://main.dlj9861zt9mlo.amplifyapp.com/\n\n\n## Setup\n\nTo get started, make sure you have Python and Typescript installed on your machine.\n### Database \nInstall neccesary dependencies for django postgres intergration (with brew)\n```\nbrew install postgresql\n```\nStart up postgres\n```\nbrew services start postgresql\n```\nCreate db\n```\ncreatedb \u003cdb_name\u003e\n```\nCreate user and password\n```\npsql \u003cdb_name\u003e\n\u003cdb_name\u003e=# CREATE USER \u003cuser\u003e WITH PASSWORD '\u003cpassword\u003e'\n\u003cdb_name\u003e=# GRANT ALL PRIVILEGES ON DATABASE postgres TO \u003cuser\u003e;\n```\nTo confirm the role exists run the following commands and the role should appear\n```\npsql \u003cdb_name\u003e\n\\du\n```\n\n#### Python\n\n1. Install the necessary requirements by running the following command:\n```\npip install -r requirements.txt\n```\n## Django X Postgres\nWe need to connect django to our Postrgres DB\n\nTo do this navigate to local_settings.py\nFrom root of the project navigate to backend/backend\n\nWithin local_settings.py place your DB information used earlier to create your DB\n```\nDATABASES = {\n    \"default\": {\n        \"ENGINE\": \"django.db.backends.postgresql_psycopg2\",\n        \"NAME\": \"\u003cdb_name\u003e\",\n        \"USER\": \"\u003cuser_name\u003e\",\n        \"PASSWORD\": \"\u003cpassword\u003e\",\n        \"HOST\": \"localhost\",\n        \"PORT\": \"5432\",\n    }\n}\n```\n\n3. Run the following commands to migrate the database:\n```\npython3 manage.py makemigrations\npython3 manage.py migrate\n```\n### Starting the server\nTo start the django server run this command:\n```\npython3 manage.py runserver\n```\nIf this command fails for any reason make sure you:\n- Have installed the neccesary dependencies\n- Are in your virtualenv (if you are using one)\n- Are in the right directory (WeCode/backend)\n- Spelled the command correctly \n#### Typescript\n\n1. Navigate to the web directory:\n```\ncd web\n```\n2. Install the necessary packages by running the following command:\n```\nnpm install\n```\n\n3. Start the development server by running the following command:\n```\nnpm run start\n```\nAnd that's it! You should now be able to access the social network at http://localhost:3000.\n\nThanks for choosing the Engineer's Social Network!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobpruzan%2Fwecode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobpruzan%2Fwecode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobpruzan%2Fwecode/lists"}