{"id":19263222,"url":"https://github.com/a-tetarwal/polity-dance","last_synced_at":"2026-04-08T11:32:39.562Z","repository":{"id":239468696,"uuid":"799613936","full_name":"A-Tetarwal/Polity-Dance","owner":"A-Tetarwal","description":"Polity-Dance is a web-based platform for creating and sharing articles. Users can create and manage articles, view articles from others, and manage their profiles. This project uses modern web technologies and services to provide a seamless experience for users.","archived":false,"fork":false,"pushed_at":"2024-08-19T17:49:58.000Z","size":10666,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T16:32:58.984Z","etag":null,"topics":["bcrypt","bcryptjs","cloud","cloudinary","express","expressjs","jsonwebtoken","jwt","mongodb","mongoose","multer","node","nodejs"],"latest_commit_sha":null,"homepage":"https://politydance.vercel.app","language":"EJS","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/A-Tetarwal.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-05-12T16:56:48.000Z","updated_at":"2024-08-19T17:50:01.000Z","dependencies_parsed_at":"2024-05-12T18:21:10.647Z","dependency_job_id":"ed7896f7-dd91-4af4-9df3-eefb54af54b9","html_url":"https://github.com/A-Tetarwal/Polity-Dance","commit_stats":null,"previous_names":["a-tetarwal/tailwind-practice","a-tetarwal/polity-dance"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/A-Tetarwal/Polity-Dance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Tetarwal%2FPolity-Dance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Tetarwal%2FPolity-Dance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Tetarwal%2FPolity-Dance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Tetarwal%2FPolity-Dance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/A-Tetarwal","download_url":"https://codeload.github.com/A-Tetarwal/Polity-Dance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A-Tetarwal%2FPolity-Dance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bcrypt","bcryptjs","cloud","cloudinary","express","expressjs","jsonwebtoken","jwt","mongodb","mongoose","multer","node","nodejs"],"created_at":"2024-11-09T19:35:19.026Z","updated_at":"2026-04-08T11:32:39.537Z","avatar_url":"https://github.com/A-Tetarwal.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polity-Dance\n\nPolity-Dance is a web-based platform for creating and sharing articles. Users can create and manage articles, view articles from others, and manage their profiles. This project uses modern web technologies and services to provide a seamless experience for users.\n\n## Features\n\n- **User Registration and Login:** Users can register, log in, and manage their accounts.\n- **Article Creation:** Users can create and upload articles with images.\n- **Article Management:** Users can view their own articles and articles from others.\n- **Profile Management:** Users can view and edit their profiles, including profile pictures.\n- **Image Handling:** Integration with Cloudinary for image uploads and management.\n\n## Technologies Used\n\n- **Backend:** Node.js, Express.js\n- **Database:** MongoDB\n- **Cloud Storage:** Cloudinary\n- **Authentication:** JWT, bcryptjs\n- **File Uploads:** Multer\n\n## Installation\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/A-Tetarwal/Tailwind-Practice.git\n   cd Tailwind-Practice\n   ```\n\n2. **Install dependencies:**\n\n   ```bash\n   npm install\n   ```\n\n3. **Setup environment variables:**\n\n   Create a `.env` file in the root directory and add the following environment variables:\n\n   ```env\n   CLOUDINARY_CLOUD_NAME=your_cloud_name\n   CLOUDINARY_API_KEY=your_api_key\n   CLOUDINARY_API_SECRET=your_api_secret\n   JWT_SECRET=your_jwt_secret\n   ```\n\n4. **Run the application:**\n\n   ```bash\n   npm start\n   ```\n\n5. **Access the application:**\n\n   Open your browser and navigate to `http://localhost:3000` to access the application.\n\n## Routes\n\n- `GET /`: Home page displaying recent articles.\n- `GET /login`: Login page.\n- `POST /login`: Authenticate user and create a session.\n- `GET /register`: Registration page.\n- `POST /register`: Register a new user.\n- `GET /p/:username`: User profile page.\n- `POST /createarticle`: Create a new article with an optional image upload.\n- `GET /articles/:title`: View a specific article.\n- `GET /pAll/:username`: User profile page can be viewed by all.\n- `GET /editprofile`: Edit user profile page.\n- `POST /editprofile`: Update user profile information.\n\n## Development\n\n- **Code Style:** Follow the existing code style for consistency.\n- **Contributions:** Feel free to open issues or submit pull requests with improvements.\n\n\u003ca href=\"https://github.com/A-Tetarwal/Polity-Dance/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=A-Tetarwal/Polity-Dance\" /\u003e\n\u003c/a\u003e\n\n## Contact\n\nFor any inquiries or feedback, please connect with me on [Twitter](https://twitter.com/woofscode) or via [LinkedIn](https://www.linkedin.com/in/ashish-tetarwal-71368a250/).\n\n## Acknowledgments\n\n- [Cloudinary](https://cloudinary.com/) for image storage and management.\n- [Multer](https://www.npmjs.com/package/multer) for handling file uploads.\n- [Express.js](https://expressjs.com/) for building the web server.\n- [MongoDB](https://www.mongodb.com/) for database management.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-tetarwal%2Fpolity-dance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-tetarwal%2Fpolity-dance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-tetarwal%2Fpolity-dance/lists"}