{"id":15776191,"url":"https://github.com/aliazmoodehvaldi/Social-Network","last_synced_at":"2025-10-15T20:30:32.121Z","repository":{"id":40541704,"uuid":"458491970","full_name":"aliazmoodehvaldi/Social-Network","owner":"aliazmoodehvaldi","description":"A simple social network with socket.io and rest api in nest.js and react.js","archived":false,"fork":false,"pushed_at":"2023-03-04T08:01:25.000Z","size":1732,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-03T13:49:20.016Z","etag":null,"topics":["chat","mongodb","nestjs","nodejs","reactjs","real-time-chat","rest-api","social-network","socket-io"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/aliazmoodehvaldi.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":"2022-02-12T10:42:26.000Z","updated_at":"2024-09-10T12:10:56.000Z","dependencies_parsed_at":"2024-10-04T17:10:20.971Z","dependency_job_id":"0a9c95c1-fad9-4030-9e90-6c217c9225f1","html_url":"https://github.com/aliazmoodehvaldi/Social-Network","commit_stats":null,"previous_names":["treer00t/social-network-server","aliazmoodehvaldi/social-network"],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/aliazmoodehvaldi/Social-Network","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliazmoodehvaldi%2FSocial-Network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliazmoodehvaldi%2FSocial-Network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliazmoodehvaldi%2FSocial-Network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliazmoodehvaldi%2FSocial-Network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliazmoodehvaldi","download_url":"https://codeload.github.com/aliazmoodehvaldi/Social-Network/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliazmoodehvaldi%2FSocial-Network/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279110985,"owners_count":26105907,"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-10-15T02:00:07.814Z","response_time":56,"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":["chat","mongodb","nestjs","nodejs","reactjs","real-time-chat","rest-api","social-network","socket-io"],"created_at":"2024-10-04T17:05:09.620Z","updated_at":"2025-10-15T20:30:31.736Z","avatar_url":"https://github.com/aliazmoodehvaldi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social-Network-Server\n\n## Table of Contents\n\n- [Install](#install)\n- [Introduction](#introduction)\n- [Api Schema](#api-schema)\n    - [URL Schema](#url-Schema)\n- [Databases](#databases)\n    - [Schema](#database-schema)\n- [Installation](#installation)\n    - [Configuration](#configuration)\n    - [Running the app](#running-the-app)\n    - [Test](#test)\n- [License](#license)\n\n## Install\n\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/).\n\nBefore installing, [download and install Node.js](https://nodejs.org/en/download/). Node.js 0.6 or higher is required.\n\nInstallation is done using the\n[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):\n\nNow download and extract project\n[Direct link](https://github.com/TREER00T/Social-Network-Server/archive/refs/heads/main.zip)\n\n## Introduction\n\nA simple social network with socket.io and rest api in nest.js\n\n## Api Schema\n\nIn this project, two libraries are used for documentation and display and display with api. For Restful\nApi ([swagger](https://github.com/scottie1984/swagger-ui-express)) and For\nSocket.io ([OpenRTP](https://github.com/treegex/openrtp))\n\n### URL Schema\n\n**Rest Api** =\u003e\n`http://localhost:3000/apiDocs`\n\n**Socket.io** =\u003e\n`http://localhost:17892/socket-docs`\n\n## Database\n\nThis app has used two databases (mongodb, redis) for development\n\n### Schema\n\nFor more information about the database structure, refer to [this](https://github.com/TREER00T/Social-Network-Database)\nrepository\n\n## Installation\n\n```bash\n$ npm i\n```\n\n## Configuration\n\nOpen cmd and run the following commands.\n\n```shell\nnode cmd.js serve\n```\n\n* Create new database with this name `social_network`\n* Create new collection with this name `users`\n\nYou can change database and collection name in .env file and create your own database \n\n## Running the app\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n## Test\n\n```bash\n# unit tests\n$ npm run test\n\n# end to end tests\n$ npm run test:e2e\n```\n\n## Licensing\n\nThe code in this project is licensed under\nthe [MIT](https://github.com/TREER00T/Social-Network-Server/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliazmoodehvaldi%2FSocial-Network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliazmoodehvaldi%2FSocial-Network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliazmoodehvaldi%2FSocial-Network/lists"}