{"id":22270633,"url":"https://github.com/hknsh/project-knedita","last_synced_at":"2025-07-28T13:32:18.502Z","repository":{"id":177311526,"uuid":"656366441","full_name":"hknsh/project-knedita","owner":"hknsh","description":"An open source social media","archived":false,"fork":false,"pushed_at":"2024-10-25T18:10:27.000Z","size":1955,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-26T11:39:45.749Z","etag":null,"topics":["docker","fastify","nestjs","postgresql","prisma","social-media","swagger","typescript"],"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/hknsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-06-20T20:03:43.000Z","updated_at":"2024-10-12T17:00:43.000Z","dependencies_parsed_at":"2023-10-01T20:00:00.554Z","dependency_job_id":"131419ad-e838-4f2a-85fd-4e0585f2ffad","html_url":"https://github.com/hknsh/project-knedita","commit_stats":null,"previous_names":["cookiedasora/social-media-project","cookiedasora/project-knedita","hknsh/project-knedita"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hknsh%2Fproject-knedita","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hknsh%2Fproject-knedita/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hknsh%2Fproject-knedita/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hknsh%2Fproject-knedita/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hknsh","download_url":"https://codeload.github.com/hknsh/project-knedita/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227914247,"owners_count":17839245,"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","fastify","nestjs","postgresql","prisma","social-media","swagger","typescript"],"created_at":"2024-12-03T12:09:02.785Z","updated_at":"2024-12-03T12:09:03.445Z","avatar_url":"https://github.com/hknsh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"./resources/logo-light.svg\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"./resources/logo-dark.svg\"\u003e\n    \u003cimg alt=\"Project Knedita\" src=\"./resources/logo-light.svg\" width=\"700\"\u003e\n  \u003c/picture\u003e\n\u003c/p\u003e\n\nA simple RESTful API made with **NestJS** and **Fastify**.\n\n### 🚀 Preparing the environment\n\nMake sure that you have Bun, Docker and Docker Compose installed on your computer.\n\nThis project also works with Node and Npm.\n\nFirst, install the necessary packages with the following commands:\n\n```bash\nbun i\n```\n\nAfter that, you can update the `.env` and the `docker.env` files. The `.env` file is for development environment and the `docker.env` is for production.\n\nYou can find the templates for those files on `.env.example` and `docker.env.example`.\n\nTo run the necessary services you can execute the following command:\n\n```bash\nbun docker:db\n```\n\nThis will start the following services:\n\n- **PostgreSQL**\n- **Redis**\n- **MinIO**\n\nApply the migrations to the database with the following command:\n\n```bash\nbun migrate:dev\n```\n\nAnd now, you can start the server with the command:\n\n```bash\nbun dev:start\n```\n\nYou can check the documentation accessing the endpoint `/` in your browser\n\nTo run in production you can use the following command:\n\n```bash\nbun docker\n```\n\nThis will start all the previous services and the back-end image.\n\n## 🗄️ Stack\n\nThis back-end uses the following stack:\n\n- **NestJS**\n- **Fastify**\n- **Prisma**\n- **MinIO**\n- **PostgreSQL**\n- **Redis**\n- **Swagger**\n- **Typescript**\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhknsh%2Fproject-knedita","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhknsh%2Fproject-knedita","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhknsh%2Fproject-knedita/lists"}