{"id":26235648,"url":"https://github.com/dxtaner/mern-stack-user-post-app","last_synced_at":"2026-04-09T18:03:06.462Z","repository":{"id":280639041,"uuid":"942669941","full_name":"dxtaner/Mern-Stack-User-Post-App","owner":"dxtaner","description":"Users Posts App","archived":false,"fork":false,"pushed_at":"2025-03-21T13:41:15.000Z","size":271,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T14:57:47.803Z","etag":null,"topics":["express-graphql","express-js","jsonwebtoken","react-router-dom","socket-io","userpostapp"],"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/dxtaner.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,"zenodo":null}},"created_at":"2025-03-04T13:34:53.000Z","updated_at":"2025-03-21T13:41:18.000Z","dependencies_parsed_at":"2025-03-04T14:32:47.436Z","dependency_job_id":"58760b6e-ce1c-4e3b-9411-dc3ab06dd714","html_url":"https://github.com/dxtaner/Mern-Stack-User-Post-App","commit_stats":null,"previous_names":["dxtaner/user-post-app","dxtaner/mern-stack-user-post-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dxtaner/Mern-Stack-User-Post-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMern-Stack-User-Post-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMern-Stack-User-Post-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMern-Stack-User-Post-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMern-Stack-User-Post-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxtaner","download_url":"https://codeload.github.com/dxtaner/Mern-Stack-User-Post-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMern-Stack-User-Post-App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28006040,"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-12-24T02:00:07.193Z","response_time":83,"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":["express-graphql","express-js","jsonwebtoken","react-router-dom","socket-io","userpostapp"],"created_at":"2025-03-13T03:17:02.304Z","updated_at":"2025-12-24T18:14:20.895Z","avatar_url":"https://github.com/dxtaner.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nUser Post Media App\n===================\n\nA full-stack social media app allowing users to log in, sign up, and create, view, and manage posts. Built with Node.js, Express, MongoDB/PostgreSQL, and React.\n\nBackend\n-------\n\n### Features\n\n*   **Authentication:** User login, signup, and JWT-based authentication.\n*   **Post Management:** Create, read, update, and delete posts.\n*   **Error Handling:** Proper error responses.\n*   **Database:** MongoDB/PostgreSQL for storing users and posts.\n\n### Installation\n\n1.  Clone the repository:\n    \n        git clone https://github.com/dxtaner/Mern-Stack-User-Post-App/new/main/backend-graphql\n        cd backend-graphql\n    \n2.  Install dependencies:\n    \n        npm install\n    \n3.  Set up `.env` with:\n    \n        PORT=3033\n        MONGODB_URI=mongodb://localhost:27017/\n        JWT_SECRET=your_jwt_secret_key\n    \n4.  Start the server:\n    \n        npm start\n    \n\n### API Endpoints\n\n*   **POST** `/auth/login`: Login\n*   **POST** `/auth/signup`: Signup\n*   **GET** `/posts`: Fetch all posts\n*   **POST** `/posts`: Create post\n*   **GET** `/posts/:postId`: Fetch post by ID\n*   **PUT** `/posts/:postId`: Update post by ID\n*   **DELETE** `/posts/:postId`: Delete post by ID\n\nFrontend\n--------\n\n### Features\n\n*   **Authentication:** Login and signup.\n*   **Post Management:** Create, edit, and delete posts.\n*   **Mobile-Friendly Navigation:** Optimized for mobile devices.\n*   **Auto Logout:** Automatic logout after inactivity.\n\n### Installation\n\n1.  Clone the repository:\n    \n        git clone https://github.com/dxtaner/Mern-Stack-User-Post-App/edit/main/frontend/user-post-app.git\n        cd user-post-app\n    \n2.  Install dependencies:\n    \n        npm install\n    \n3.  Start the backend:\n    \n        npm run server\n    \n4.  Start the app:\n    \n        npm start\n    \n\n### Pages and Routes\n\n*   **Login** (`/login`)\n*   **Signup** (`/signup`)\n*   **Feed** (`/posts`)\n*   **Single Post** (`/posts/post/:postId`)\n\nContributing\n------------\n\n1.  Fork the repository.\n2.  Create a new branch for your feature.\n3.  Make changes and commit them.\n4.  Push and open a Pull Request.\n\nLicense\n-------\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxtaner%2Fmern-stack-user-post-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxtaner%2Fmern-stack-user-post-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxtaner%2Fmern-stack-user-post-app/lists"}