{"id":13678554,"url":"https://github.com/stuyy/chat-platform-nestjs","last_synced_at":"2025-04-29T15:31:54.583Z","repository":{"id":58210904,"uuid":"527220926","full_name":"stuyy/chat-platform-nestjs","owner":"stuyy","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-02T13:44:43.000Z","size":609,"stargazers_count":412,"open_issues_count":0,"forks_count":87,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-11T21:37:29.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stuyy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-21T13:52:57.000Z","updated_at":"2024-11-09T05:54:15.000Z","dependencies_parsed_at":"2023-01-21T08:04:43.969Z","dependency_job_id":null,"html_url":"https://github.com/stuyy/chat-platform-nestjs","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/stuyy%2Fchat-platform-nestjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuyy%2Fchat-platform-nestjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuyy%2Fchat-platform-nestjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuyy%2Fchat-platform-nestjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuyy","download_url":"https://codeload.github.com/stuyy/chat-platform-nestjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251529560,"owners_count":21603978,"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":[],"created_at":"2024-08-02T13:00:55.075Z","updated_at":"2025-04-29T15:31:54.223Z","avatar_url":"https://github.com/stuyy.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Chat Platform API\n\nThis is the backend for the [Chat Platform React](https://github.com/stuyy/chat-platform-react) project.\n\n# Installation \u0026 Setup\n\n## Pre-requisites\n\n- Node.js v16\n  - **8/31/2022** - I've tested this on my Ubuntu server with Node.js v18 and there was an issue with the database connection. I was able to fix this by downgrading to Node.js v16. If you have any issues with the database connection, please try Node.js v16.\n- MySQL Server (or any SQL database that is supported by TypeORM).\n\n## Setting up the Backend\n\n1. Clone the repository.\n2. Run `yarn install` to install dependencies.\n3. Create a `.env.development` file in the root directory and paste the following:\n\n   ```\n   PORT=\n\n   MYSQL_DB_HOST=\n   MYSQL_DB_USERNAME=\n   MYSQL_DB_PASSWORD=\n   MYSQL_DB_PORT=\n   MYSQL_DB_NAME=\n\n   COOKIE_SECRET=\n   ```\n\n   - **`PORT`** The port your server will run on\n   - **`MYSQL_DB_HOST`** The hostname for your MySQL database server\n   - **`MYSQL_DB_USERNAME`** The username for your MySQL database\n   - **`MYSQL_DB_PASSWORD`** The password for your MySQL user account\n   - **`MYSQL_DB_PORT`** The port your MySQL server is running on (default 3306)\n   - **`MYSQL_DB_NAME`** The name of your database (be sure to create it first otherwise an error will be thrown).\n   - **`COOKIE_SECRET`** Can be any string that can be used to encrypt \u0026 decrypt your cookie.\n\n4. Run `yarn start:dev` or `npm run start:dev` depending on which package manager you use to start the project in development mode.\n\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\"\u003e\u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png\" /\u003e\u003c/a\u003e\u003cbr /\u003eThis work is licensed under a \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\"\u003eCreative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuyy%2Fchat-platform-nestjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuyy%2Fchat-platform-nestjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuyy%2Fchat-platform-nestjs/lists"}