{"id":21270366,"url":"https://github.com/amdzy/socialbook-api","last_synced_at":"2025-03-15T11:46:30.346Z","repository":{"id":174963079,"uuid":"419723148","full_name":"amdzy/socialbook-api","owner":"amdzy","description":"A social media API server","archived":false,"fork":false,"pushed_at":"2021-11-24T20:55:45.000Z","size":672,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T02:28:28.285Z","etag":null,"topics":[],"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/amdzy.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}},"created_at":"2021-10-21T12:56:23.000Z","updated_at":"2021-11-24T20:56:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"8cbe9c81-0af0-4460-8903-46053e277289","html_url":"https://github.com/amdzy/socialbook-api","commit_stats":null,"previous_names":["soul-remix/socialbook-api","amdzy/socialbook-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdzy%2Fsocialbook-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdzy%2Fsocialbook-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdzy%2Fsocialbook-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amdzy%2Fsocialbook-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amdzy","download_url":"https://codeload.github.com/amdzy/socialbook-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725561,"owners_count":20337667,"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-11-21T08:17:14.466Z","updated_at":"2025-03-15T11:46:30.307Z","avatar_url":"https://github.com/amdzy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Socialbook API\r\n\r\n\r\nSocialbook API is an API server for a social media web app.     \r\nWritten in [TS](https://www.typescriptlang.org/), using [Nestjs](https://nestjs.com/) as the framework,\r\n[PostgreSQL](https://www.postgresql.org/) as the DB, [Prisma](prisma.io/) orm \u0026 Deployed at [Heroku](https://heroku.com/).    \r\n\r\nTo read about the features go to: \r\n[Frontend Repo](https://github.com/Soul-Remix/socialbook).    \r\n\r\n[SocialBook](https://social-book-app.netlify.app/home).    \r\n\r\nOne of the biggest challenges for me when i started to build this API was that i decided to use a new stack, other than what i was used to before.    \r\n\r\nI had to start by learning TS, I have been planning on learning it for a while, \r\nSo i just picked it up and started writing and this might actually show in the code since i sometimes just ended up using any instead of writing a type \r\nbut i'm planning on going back and change all those any to the right type.    \r\n\r\nAfter i started learning TS, I looked for a framework that plays well with TS and i settled on NestJS, \r\nIt was a big jump from what i was used to in express but i enjoyed working with it.    \r\nThen i looked into learning more about SQL and postgres.    \r\n\r\nAnother big hurdle was working on getting a functional Liva Chat Messaging using websockets and nestjs\r\n\r\n## Installation\r\n\r\n```\r\ngit clone https://github.com/Soul-Remix/socialbook-api.git\r\ncd socialbook-api\r\nnpm install\r\n```\r\n\r\ncreate .env file and add the following:\r\n```\r\nDATABASE_URL=\u003cYour DB URL\u003e\r\nJWTSECRET=\u003cYour jwt secret\u003e\r\n```\r\n\r\nfinally:\r\n```\r\nnpm run start\r\n```\r\n\r\n## License\r\n[MIT](https://choosealicense.com/licenses/mit/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdzy%2Fsocialbook-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famdzy%2Fsocialbook-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdzy%2Fsocialbook-api/lists"}