{"id":21975716,"url":"https://github.com/anishagg17/mern-connect","last_synced_at":"2026-01-05T02:33:41.684Z","repository":{"id":42933569,"uuid":"237982206","full_name":"anishagg17/Mern-Connect","owner":"anishagg17","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-22T14:04:31.000Z","size":886,"stargazers_count":0,"open_issues_count":15,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T03:28:43.323Z","etag":null,"topics":["backend","frontend"],"latest_commit_sha":null,"homepage":"","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/anishagg17.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":"2020-02-03T14:17:41.000Z","updated_at":"2021-03-16T13:43:30.000Z","dependencies_parsed_at":"2023-01-30T11:01:35.337Z","dependency_job_id":null,"html_url":"https://github.com/anishagg17/Mern-Connect","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/anishagg17%2FMern-Connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishagg17%2FMern-Connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishagg17%2FMern-Connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishagg17%2FMern-Connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anishagg17","download_url":"https://codeload.github.com/anishagg17/Mern-Connect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245036122,"owners_count":20550661,"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","frontend"],"created_at":"2024-11-29T16:00:18.446Z","updated_at":"2025-12-30T20:39:52.302Z","avatar_url":"https://github.com/anishagg17.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Link to repo : https://github.com/anishagg17/Mern-Connect\n\nIt is an online platform based on MERN architecture to allow developers to connect with each other, share posts, comment on posts, upload profiles via APIs. It is a full stack application created with Node.Js, React.Js, ExpressJs, and uses MongoDB as a database.\n\n# Local installation:\n``` \ngit clone git@github.com:anishagg17/Mern-Connect.git\ncd Mern-Connect\nnpm i\ncd client\nnpm i\n``` \n\n# Running Application:\n\n### Start Server :\n``` Node server.js  ``` \n\n\nWe can run server in development mode using nodemon instead of node\n``` nodemon server.js ``` \n\n\n### Start Client :\n``` npm start ``` \n\n\nWe can run server and client both simultaneously using concurrently module.\nconcurrently \\\"npm run server\\\" \\\"npm run client\\\"\nOr \n``` npm run dev ``` \n\n\n## Backend:\nIt consists of an express server along with several routers, models, middleware and controllers.\n\n`Db.js` :  It contains code to establish connection to the dataBase\n\n`Server.js` : It consists of an express server application which routes to different controllers and is responsible for running the application.\n\n`models` : It consists of several definitions of objects, whose shema are defined using mongoose-Schema . Attributes may be of type:  String, Date, etc.Some attributes have been marked as required, some have default value set.\n\n`routes/api` : These are sets of controllers which are responsible to handle requests based on type of request(GET, POST, DELETE, PUT) and route and map it to specific code.  \n\n`Middleware` : It is a middleware which is used to check if a user is authenticated or not. It makes use of jsonwebtoken and passes to the respective controller if the conditions satisfy.\n\n## Frontend:\n\nClient folder contains all code for the web-frontend application. It uses \n\n`React` : it is a JavaScript library for building user interfaces.\n\n`Redux` : it is used to manage state of the application as a single source of truth.\n\n`Axios` : It is used to Make http requests from Client side to server side.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishagg17%2Fmern-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanishagg17%2Fmern-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishagg17%2Fmern-connect/lists"}