{"id":16906447,"url":"https://github.com/chrisru/beight-api","last_synced_at":"2026-04-10T02:32:49.283Z","repository":{"id":127151255,"uuid":"100789207","full_name":"ChrisRu/beight-api","owner":"ChrisRu","description":"✏️ Backend for a collaborative web editor","archived":false,"fork":false,"pushed_at":"2017-09-21T16:24:52.000Z","size":384,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T15:30:34.260Z","etag":null,"topics":["docker","docker-compose","eslint","koa","nodejs","passportjs","postgresql","typescript","webpack","websocket"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChrisRu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-19T11:11:59.000Z","updated_at":"2018-04-28T09:03:52.000Z","dependencies_parsed_at":"2023-06-30T15:01:09.087Z","dependency_job_id":null,"html_url":"https://github.com/ChrisRu/beight-api","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/ChrisRu%2Fbeight-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisRu%2Fbeight-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisRu%2Fbeight-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisRu%2Fbeight-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisRu","download_url":"https://codeload.github.com/ChrisRu/beight-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244650040,"owners_count":20487545,"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":["docker","docker-compose","eslint","koa","nodejs","passportjs","postgresql","typescript","webpack","websocket"],"created_at":"2024-10-13T18:42:40.914Z","updated_at":"2026-04-10T02:32:44.244Z","avatar_url":"https://github.com/ChrisRu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Beight Core\nA collaborative web editor built with Node, PostgreSQL, Typescript, KoaJS, PassportJS and WS.\nThis is the backend/API for the Beight application. If you want the full experience, go to https://github.com/ChrisRu/beight-client and install the frontend.\n\n# License\nThis application is MIT licensed\n\n# Setup\n1. Install Docker Compose\n\n      If you don't have docker compose installed, follow the instructions on https://docs.docker.com/compose/install/\n\n2. Configure the environment variables\n\n      - Move or copy the `.env.example` file to just `.env`\n\n      - Optionally configure the environment variables to your liking\n\n3. Build the containers\n\n      Start the build by running the following command inside the root folder:\n\n      `docker-compose build`\n\n4. Everything should work now :)\n\n      Next up: running the dev server\n\n# Running\n\n1. Start the containers\n\n      Start the containers by running the following command inside the root folder:\n\n      `docker-compose up`\n\n2. Optionally, install the dev dependencies to get eslint and type support inside your prefered editor\n\n      - I recommend using [prettier](https://github.com/prettier/prettier) with [prettier-eslint](https://github.com/prettier/prettier-eslint) for code formatting.\n      - The editor I recommend is [VSCode](https://github.com/Microsoft/vscode). It's great for type support.\n\n      `npm install --only=dev`\n\n2. Done :)\n\n      You can now edit the files and the server will automatically restart when a file changes.\n      Press CTRL+C to exit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisru%2Fbeight-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisru%2Fbeight-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisru%2Fbeight-api/lists"}