{"id":20154069,"url":"https://github.com/vaeb/chat","last_synced_at":"2026-05-29T13:31:46.857Z","repository":{"id":80277448,"uuid":"220520584","full_name":"Vaeb/Chat","owner":"Vaeb","description":"Modern chat system made using React and GraphQL.","archived":false,"fork":false,"pushed_at":"2019-11-08T21:04:17.000Z","size":1755,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T01:29:59.279Z","etag":null,"topics":[],"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/Vaeb.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":"2019-11-08T17:56:05.000Z","updated_at":"2021-01-13T17:06:58.000Z","dependencies_parsed_at":"2023-03-12T10:28:03.172Z","dependency_job_id":null,"html_url":"https://github.com/Vaeb/Chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vaeb/Chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaeb%2FChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaeb%2FChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaeb%2FChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaeb%2FChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vaeb","download_url":"https://codeload.github.com/Vaeb/Chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vaeb%2FChat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33655440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":[],"created_at":"2024-11-13T23:24:42.885Z","updated_at":"2026-05-29T13:31:46.838Z","avatar_url":"https://github.com/Vaeb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vashtalk\n\nReact-based chat project for Vashta.\n\n## Setup\n\n1.  Navigate to `backend/` and install modules: `npm install` (or `npm install --force` for fresh installation)\n1.  Navigate to `frontend/chat-client/` and install modules: `npm install`(or `npm install --force` for fresh installation)\n1.  Install nodemon module: `npm i -g nodemon`\n1.  Install PostgreSQL\n    -   Windows:\n        -   Install 9.6: https://www.postgresql.org/download/windows/\n        -   Set root postgres user password to 1248 in setup (or set new pass in models/index.js)\n    -   Ubuntu:\n        -   `sudo apt-get update`\n        -   `sudo apt-get install postgresql postgresql-contrib`\n        -   Login as postgres user: `sudo -i -u postgres`\n        -   Connect to postgres: `psql -U postgres`\n        -   Set the password to 1248: `\\password`\n        -   Exit database: `\\q`\n        -   Switch back to previous user: `exit`\n1.  Add \"psql\" to Windows PATH\n    -   Windows:\n        -   Add C:\\Program Files\\PostgreSQL\\9.6\\bin to PATH\n        -   Add C:\\Program Files\\PostgreSQL\\9.6\\lib to PATH\n        -   Restart terminal(s)\n1.  Connect to postgres: `psql -U postgres`\n1.  Create chat database: `create database chat;`\n1.  Exit database: `\\q`\n1.  Install redis\n1.  Start the redis websocket server: `redis-server`\n1.  Using another terminal if necessary, navigate into `backend/`\n1.  Compile the code with babel: `npm run build`\n1.  Start the backend nodemon server: `npm run serve`\n1.  Using another terminal if necessary, navigate into `frontend/chat-client/`\n1.  Start the frontend nodemon server: `npm start`\n\n## PostgreSQL Key Commands\n\n-   `psql -U postgres`: Connect to postgres\n-   `\\c chat`: Connect to `chat` database\n-   `\\d`: List tables\n-   `\\d table_name`: Describe table `table_name`\n-   `\\q`: Quit postgres\n\n## Recommended VSCode Extensions\n\n-   [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n    -   No setup needed (.eslintrc.js already exists in `frontend/chat-client/` and `backend/`)\n    -   Necessary NPM modules will have been installed upon `npm install` or `yarn install` in both `frontend/chat-client/` and `backend/`\n-   [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)\n    -   Add the following to your VSCode User Settings:\n        ```\n        \"prettier.singleQuote\": true,\n        \"prettier.tabWidth\": 4,\n        \"prettier.trailingComma\": \"es5\",\n        \"prettier.eslintIntegration\": true,\n        \"editor.formatOnSave\": true,\n        \"prettier.printWidth\": 140,\n        \"prettier.proseWrap\": \"preserve\"\n        ```\n\n## Useful Links\n\n-   [Node (Includes NPM)](https://nodejs.org/en/)\n-   [Yarn](https://yarnpkg.com/lang/en/docs/install/)\n-   [Chat (Vashta Server)](https://chat.vashta.io/view-chat) + [Chat (Local)](http://localhost:3000/view-chat)\n-   [GraphQL Testing (Vashta Server)](https://chat.vashta.io/graphiql) + [GraphQL Testing (Local)](http://localhost:8080/graphiql)\n-   [Apollo GraphQL Docs](https://www.apollographql.com/docs/react/essentials/get-started.html) + [Apollo GraphQL Docs (2.0 Migration)](https://www.apollographql.com/docs/react/recipes/2.0-migration.html)\n-   [Sequelize Docs](http://docs.sequelizejs.com/manual/installation/getting-started.html)\n-   [MobX Docs](https://github.com/mobxjs/mobx) + [MobX React Docs](https://github.com/mobxjs/mobx-react)\n-   [React Tutorial](https://reactjs.org/tutorial/tutorial.html)\n-   [React Component Lifecycle Docs](https://reactjs.org/docs/react-component.html)\n-   [React Router Docs](https://reacttraining.com/react-router/web/example/auth-workflow)\n-   [React Semantic UI Docs](https://react.semantic-ui.com/elements/button)\n-   [React Styled Components Docs](https://www.styled-components.com/docs/basics)\n-   [Lodash](https://lodash.com/docs/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaeb%2Fchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaeb%2Fchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaeb%2Fchat/lists"}