{"id":22961854,"url":"https://github.com/khoido2003/overflow-api","last_synced_at":"2025-10-15T10:49:51.825Z","repository":{"id":244904058,"uuid":"816549140","full_name":"khoido2003/overflow-api","owner":"khoido2003","description":" backend repository for Code Overflow","archived":false,"fork":false,"pushed_at":"2024-07-13T04:42:04.000Z","size":352,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-13T06:42:43.006Z","etag":null,"topics":["express","nodejs","postgresql","prisma","typescript"],"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,"zenodo":null}},"created_at":"2024-06-18T01:14:55.000Z","updated_at":"2025-02-15T15:30:53.000Z","dependencies_parsed_at":"2024-06-18T07:28:56.431Z","dependency_job_id":"5d7f2cdc-43b8-41d1-be80-9d84e77b010b","html_url":"https://github.com/khoido2003/overflow-api","commit_stats":null,"previous_names":["khoido2003/overflow-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khoido2003/overflow-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khoido2003","download_url":"https://codeload.github.com/khoido2003/overflow-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khoido2003%2Foverflow-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279074747,"owners_count":26097701,"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-10-15T02:00:07.814Z","response_time":56,"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","nodejs","postgresql","prisma","typescript"],"created_at":"2024-12-14T19:14:12.906Z","updated_at":"2025-10-15T10:49:51.795Z","avatar_url":"https://github.com/khoido2003.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overflow API - README\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\n=====================\n\nThis repository contains the source code for Overflow API. Below are instructions on how to clone the repository, work on the development branch, and submit changes via pull requests.\n\n## Frontend Setup\n\nThe Frontend setup instructions can be found in the [frontend repository](https://github.com/khoido2003/overflow-web).\n\n## Cloning the Repository\n\nTo get started with the project, follow these steps to clone the repository to your local machine:\n\n### Step 1: Clone the Repository\n\nTo get started with the project, follow these steps to clone the repository to your local machine:\n\n1. Open a terminal or command prompt.\n2. Use `git clone` command to clone the repository:\n\n```bash\n  git clone https://github.com/khoido2003/overflow-api.git\n```\n\n## Switching to the Development Branch\n\nOnce the repository is cloned, switch to the development branch to start working on your changes:\n\n### Step 0: Navigate into the Project Directory\n\n```bash\n  cd overflow-api\n```\n\n### Step 1: Fetch the new branch\n\n```bash\n  git fetch origin\n\n```\n\n### Step 2: Checkout the Development Branch\n\n```bash\n  git checkout development\n```\n\n### Step 3: Create a `.env` file in the root of the backend directory and add the necessary environment variables:\n\n```env\nPORT=\nNODE_ENV=\nCORS_ORIGIN=\nJWT_SECRET=\nJWT_EXPIRES_IN=\nJWT_COOKIES_EXPIRES_IN=\nUPLOADTHING_SECRET=\nUPLOADTHING_APP_ID=\nDATABASE_URL=\n```\n\n## Making Changes and Committing\n\nNow you can make your changes to the codebase. After making changes, follow these steps to commit them:\n\n### Step 1: Stage Your Changes for Commit\n\n```bash\n  git add -A\n```\n\n### Step 2: Commit Your Changes with a Descriptive Message\n\n```bash\n  git commit -m \"Your descriptive commit message here\"\n```\n\n## Pushing Changes and Creating a Pull Request\n\nOnce you are ready to submit your changes for review and inclusion in the main branch, follow these steps:\n\n### Step 1: Push Your Changes to Your Fork of the Repository\n\n```bash\ngit push origin development\n```\n\n### Step 2: Create a Pull Request on GitHub\n\n1. Visit the repository on GitHub.\n2. Click on the \"Pull requests\" tab.\n3. Click the green \"New pull request\" button.\n4. Select main branch as the base branch and development branch as the compare branch.\n5. Review your changes and provide a descriptive title and comment for your pull request.\n6. Click on the \"Create pull request\" button to submit your changes.\n\n## Review and Merge\n\nAfter submitting your pull request, it will be reviewed by the project maintainers. Make sure to respond to any feedback or comments provided. Once approved, your changes will be merged into the main branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhoido2003%2Foverflow-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhoido2003%2Foverflow-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhoido2003%2Foverflow-api/lists"}