{"id":22961846,"url":"https://github.com/khoido2003/overflow-web","last_synced_at":"2025-07-03T11:02:29.620Z","repository":{"id":245078362,"uuid":"817153253","full_name":"khoido2003/overflow-web","owner":"khoido2003","description":"Code Overflow, a modern platform inspired by Stack Overflow","archived":false,"fork":false,"pushed_at":"2024-07-13T04:39:00.000Z","size":8495,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T18:49:22.877Z","etag":null,"topics":["authjs","nextjs","nodejs","postgresql","prisma","tailwindcss","typescript","uploadthing"],"latest_commit_sha":null,"homepage":"https://code-overflow-vn.vercel.app/","language":"TypeScript","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/khoido2003.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-06-19T06:12:28.000Z","updated_at":"2025-02-15T15:30:36.000Z","dependencies_parsed_at":"2024-06-27T19:14:30.769Z","dependency_job_id":null,"html_url":"https://github.com/khoido2003/overflow-web","commit_stats":null,"previous_names":["khoido2003/overflow-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khoido2003/overflow-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khoido2003","download_url":"https://codeload.github.com/khoido2003/overflow-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-web/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263314092,"owners_count":23447289,"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":["authjs","nextjs","nodejs","postgresql","prisma","tailwindcss","typescript","uploadthing"],"created_at":"2024-12-14T19:14:11.205Z","updated_at":"2025-07-03T11:02:29.593Z","avatar_url":"https://github.com/khoido2003.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Overflow\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://code-overflow-vn.vercel.app/assets/logo.svg\" alt=\"Code Overflow Icon\" width=\"100\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Code-Node.js-informational?style=flat\u0026color=informational\u0026logo=node.js\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Code-Next.js-informational?style=flat\u0026color=informational\u0026logo=next.js\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Code-React-informational?style=flat\u0026color=informational\u0026logo=react\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Style-Tailwind%20CSS-informational?style=flat\u0026color=informational\u0026logo=tailwind-css\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/ORM-Prisma-informational?style=flat\u0026color=success\u0026logo=prisma\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Database-PostgreSQL-informational?style=flat\u0026color=success\u0026logo=postgresql\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Authentication-Auth.js-informational?style=flat\u0026color=success\u0026logo=auth0\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Language-TypeScript-informational?style=flat\u0026color=blue\u0026logo=typescript\"\u003e\n\u003c/div\u003e\n\nWelcome to Code Overflow, a modern platform inspired by Stack Overflow, designed to help developers ask and answer coding questions efficiently. This project leverages cutting-edge web technologies to deliver a seamless, user-friendly experience.\n\n## Table of Contents\n\n- Project Overview\n- Features\n- Tech Stack\n  - Frontend\n  - Backend\n- Installation\n  - Prerequisites\n  - Frontend Setup\n  - Backend Setup\n- Usage\n- Contributing\n- License\n\n## Project Overview\n\nCode Overflow aims to be a comprehensive Q\u0026A platform for developers. Users can post questions, provide answers, engage in discussions, and vote on the best solutions. Our platform is built to encourage user engagement and foster a collaborative environment among developers.\n\n## Features\n\n- **User Authentication and Authorization:** Secure login and registration.\n- **Question and Answer Management:** Post, edit, and delete questions and answers.\n- **Voting and Commenting:** Upvote and downvote answers, and add comments.\n- **Tagging System:** Categorize questions with relevant tags.\n- **User Profiles:** Track user activities and contributions.\n- **Responsive Design:** Optimized for both mobile and desktop views.\n- **Image Uploading:** Easily upload and manage images.\n\n## Tech Stack\n\n### Frontend\n\n- **Next.js:** A React framework for server-side rendering and static site generation.\n- **React:** A JavaScript library for building user interfaces.\n- **Tailwind CSS:** A utility-first CSS framework for rapid UI development.\n- **Auth.js:** A library for secure authentication.\n- **TypeScript:** A typed superset of JavaScript for better code quality and maintainability.\n- **TanStack Query:** A powerful data fetching and state management library.\n\n### Backend\n\n- **Express.js:** A web application framework for Node.js.\n- **Node.js:** A JavaScript runtime for server-side development.\n- **Prisma:** An ORM for interacting with PostgreSQL.\n- **PostgreSQL:** A relational database management system.\n- **TypeScript:** A typed superset of JavaScript for better code quality and maintainability.\n- **Uploadthing:** A service for handling image uploads and storage.\n\n## Installation\n\n### Prerequisites\n\nEnsure you have the following installed on your system:\n\n- Node.js (v18 or higher)\n- npm or yarn\n- PostgreSQL\n\n### Frontend Setup\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/khoido2003/overflow-web.git\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n   # or\n   yarn install\n   ```\n\n3. Create a `.env` file in the root of the frontend directory and add the necessary environment variables:\n\n   ```env\n   AUTH_SECRET=\n   JWT_EXPIRES_IN=\n   JWT_SECRET=\n   GOOGLE_CLIENT_ID=\n   GOOGLE_CLIENT_SECRET=\n   GITHUB_CLIENT_ID=\n   GITHUB_CLIENT_SECRET=\n   TINY_EDITOR_KEY=\n   NEXT_PUBLIC_API_REQUEST_PREFIX=\n   DATABASE_URL=\n   ```\n\n4. Run the development server:\n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   ```\n\n### Backend Setup\n\nThe backend setup instructions can be found in the [backend repository](https://github.com/khoido2003/overflow-api).\n\n## Usage\n\nOnce both the frontend and backend servers are running, you can access the application at [http://localhost:3000](http://localhost:3000).\n\n\u003c!-- ![Screenshot of Code Overflow](path/to/screenshot.png) --\u003e\n\n## Screenshots\n\n\u003ca href=\"https://ibb.co/Lndfq5R\"\u003e\u003cimg src=\"https://i.ibb.co/zGVwLJx/1.png\" alt=\"1\" border=\"0\"\u003e\u003c/a\u003e\n\u003ca href=\"https://ibb.co/41QLyrz\"\u003e\u003cimg src=\"https://i.ibb.co/qJZ8GQK/2.png\" alt=\"2\" border=\"0\"\u003e\u003c/a\u003e\n\u003ca href=\"https://ibb.co/Ny3HtsW\"\u003e\u003cimg src=\"https://i.ibb.co/5R9fG6s/3.png\" alt=\"3\" border=\"0\"\u003e\u003c/a\u003e\n\u003ca href=\"https://ibb.co/LYYSLqR\"\u003e\u003cimg src=\"https://i.ibb.co/Kbb6MQh/4.png\" alt=\"4\" border=\"0\"\u003e\u003c/a\u003e\n\n## Contributing\n\nWe welcome contributions to Code Overflow! To contribute:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Commit your changes (`git commit -m 'Add new feature'`).\n4. Push to the branch (`git push origin feature-branch`).\n5. Open a Pull Request.\n\nPlease ensure your code adheres to our coding standards and includes relevant tests.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhoido2003%2Foverflow-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhoido2003%2Foverflow-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhoido2003%2Foverflow-web/lists"}