{"id":25588503,"url":"https://github.com/nikamaish/socialnetworkingapi-","last_synced_at":"2026-05-08T04:32:38.823Z","repository":{"id":226482638,"uuid":"768803663","full_name":"nikamaish/SocialNetworkingApi-","owner":"nikamaish","description":"Please find the deployment link below. ","archived":false,"fork":false,"pushed_at":"2024-03-13T09:55:49.000Z","size":185,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T17:11:01.153Z","etag":null,"topics":["backend","express-js","mongodb-atlas","node-js","restful-api","vercel-deployment"],"latest_commit_sha":null,"homepage":"https://social-networking-backend-eight.vercel.app","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/nikamaish.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":"2024-03-07T19:03:23.000Z","updated_at":"2024-03-30T14:12:53.000Z","dependencies_parsed_at":"2024-03-13T10:48:29.298Z","dependency_job_id":"950c7c08-1727-4985-aa3c-13b1064379b6","html_url":"https://github.com/nikamaish/SocialNetworkingApi-","commit_stats":null,"previous_names":["nikamaish/socialnetworkingapi-"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nikamaish/SocialNetworkingApi-","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikamaish%2FSocialNetworkingApi-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikamaish%2FSocialNetworkingApi-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikamaish%2FSocialNetworkingApi-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikamaish%2FSocialNetworkingApi-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikamaish","download_url":"https://codeload.github.com/nikamaish/SocialNetworkingApi-/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikamaish%2FSocialNetworkingApi-/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261972816,"owners_count":23238539,"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":["backend","express-js","mongodb-atlas","node-js","restful-api","vercel-deployment"],"created_at":"2025-02-21T08:38:10.686Z","updated_at":"2026-05-08T04:32:38.777Z","avatar_url":"https://github.com/nikamaish.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Social Networking API with MongoDB\n\n\nWelcome to the Social Networking API, a powerful platform designed to facilitate seamless communication and connection between users. This API is built on Node.js and MongoDB, ensuring efficient data storage and retrieval for a rich social networking experience. The primary goal is to empower developers to create robust social applications with features including user profiles, posts, authentication, and some cool mechanisms. This API focuses on data modeling, security, and performance. MongoDB ensures optimal data storage and retrieval, while Node.js powers the backend with its asynchronous, event-driven architecture.\n\n\n##  Prerequisites\n\n- Node.js (v18.12.1)\n- MongoDB (v4.4.15)\n\n\n## Setup Instructions\n\nTo get a copy of this project, simply clone the repository:\n```\ngit clone https://github.com/nikamaish/SocialNetworkingApi-.git\ncd backend\n```\n\n## Install dependencies\n```bash\nnpm init -y\nnpm install\n```\n\n\n## Environment Variables\n\n```env\nCreate a .env file in the root directory and add the following variables:\n\nPORT=5000\n\nMONGODB_URI= mongodb+srv://your-username:your-password@clustername.mongodb.net/your-database?retryWrites=true\u0026w=majority\n\nJWT_SECRET=your-secret-key\n```\n\n## Database Setup\n\nEnsure MongoDB is running and follow the steps below to set up the database:\n\n1. **MongoDB Installation:**\n   - If MongoDB is not installed on your machine, [install MongoDB](https://docs.mongodb.com/manual/installation/).\n\n2. **MongoDB Atlas:**\n   - If you're using MongoDB Atlas, make sure you have created a cluster and obtained the connection URI.\n\n3. **Configuration:**\n   - Open the `.env` file in the project's root directory.\n   - Update the `MONGODB_URI` variable with your MongoDB connection URI.\n\n4. **Run MongoDB:**\n   - Start your MongoDB server. If installed locally, run `mongod` in the terminal.\n\n5. **Verify Connection:**\n   - Run your application and verify that it successfully connects to the MongoDB database.\n\nNow, your database should be set up and ready to use. If you encounter any issues, refer to MongoDB's official documentation for troubleshooting.\n\n\n## Running the Application\n\nStart the application:\n\n```bash\nnpm start\n```\n\n## API Documentation\n\n[ API Documentation](https://drive.google.com/file/d/1y_pOisj81wo03u8paW0wwKsyPZBgufNN/view?usp=sharing)\n\n\n## Testing Documentation\n\n[ Testing Documentation](https://drive.google.com/file/d/1kVC99uMIMsEPjjmVSD-Mv8PlAN1yIPqL/view?usp=sharing)\n\n## Deployment Link\n\n[ Deployment Link](https://social-networking-backend-eight.vercel.app/)\n\n\n\n## Schema Design\n\n![Schema Diagram](https://github.com/nikamaish/SocialNetworkingApi-/assets/100349291/be5cd75b-16e5-4d54-82e6-d300c9304591)\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikamaish%2Fsocialnetworkingapi-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikamaish%2Fsocialnetworkingapi-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikamaish%2Fsocialnetworkingapi-/lists"}