{"id":31648223,"url":"https://github.com/toweringcloud/express-social-network","last_synced_at":"2025-10-07T06:59:44.265Z","repository":{"id":302095294,"uuid":"869222414","full_name":"toweringcloud/express-social-network","owner":"toweringcloud","description":"social network backend web app using bun + express v4 + swagger + drizzle + postgresql + minio","archived":false,"fork":false,"pushed_at":"2025-07-22T09:54:42.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-22T11:43:18.051Z","etag":null,"topics":["coolify","digitalocean","superbase"],"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/toweringcloud.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-07T23:41:51.000Z","updated_at":"2025-07-22T09:54:46.000Z","dependencies_parsed_at":"2025-06-30T15:23:48.725Z","dependency_job_id":"53405fa0-88e2-416e-b582-87baa7c31c80","html_url":"https://github.com/toweringcloud/express-social-network","commit_stats":null,"previous_names":["toweringcloud/express-social-network"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toweringcloud/express-social-network","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-social-network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-social-network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-social-network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-social-network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toweringcloud","download_url":"https://codeload.github.com/toweringcloud/express-social-network/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toweringcloud%2Fexpress-social-network/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734415,"owners_count":26036404,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["coolify","digitalocean","superbase"],"created_at":"2025-10-07T06:59:39.863Z","updated_at":"2025-10-07T06:59:44.261Z","avatar_url":"https://github.com/toweringcloud.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-social-network\n\nsocial network backend web app using express v4 + swagger + drizzle + postgresql + minio\n\n## how to run\n\n### setup\n\n- install latest bun runtime\n\n```sh\n$ curl -fsSL https://bun.sh/install | bash\nbun was installed successfully to ~/.bun/bin/bun\n\n$ bun -v\n1.2.15\n```\n\n### configure\n\n- install packages with bun\n\n```sh\n$ bun init\n$ bun i\n```\n\n- define runtime variables\n\n```sh\n$ cat .env\nMODE=DEV\nCOOKIE_SECRET={YOUR_COOKIE_SECRET}\nGITHUB_API_URL=https://api.github.com\nGITHUB_AUTH_URL=https://github.com/login/oauth\nGITHUB_CALLBACK_URL=http://localhost:3000/github/callback\nGITHUB_CLIENT_ID={YOUR_GITHUB_CLIENT_ID}\nGITHUB_CLIENT_SECRET={YOUR_GITHUB_CLIENT_SECRET}\nDATABASE_URL=postgres://id:pw@localhost:5432/db\nSTORAGE_SERVER=\"minio | cloudflare r2 | aws s3\"\nSTORAGE_REGION=auto\nSTORAGE_ENDPOINT_URL={YOUR_ENDPOINT_URL}\nSTORAGE_ACCESS_KEY_ID={YOUR_ACCESS_KEY_ID}\nSTORAGE_SECRET_ACCESS_KEY={YOUR_SECRET_ACCESS_KEY}\nSTORAGE_DOWNLOAD_URL={YOUR_PUBLIC_DOMAIN}\n```\n\n### launch\n\n- create db schema with drizzle-kit\n\n```sh\n$ bun run db:generate\n$ drizzle-kit generate\nNo config path provided, using default 'drizzle.config.ts'\nReading config file '...\\drizzle.config.ts'\n4 tables\ncomments 6 columns 0 indexes 2 fks\nlikes 3 columns 0 indexes 2 fks\nthreads 8 columns 0 indexes 1 fks\nusers 9 columns 0 indexes 0 fks\n\n[✓] Your SQL migration file ➜ 0000_clammy_luke_cage.sql 🚀\n```\n\n- apply db schema into database server\n\n```sh\n$ bun run db:migrate\n$ bun run src/models/migrate.ts\nRunning migrations...\nMigrations completed!\n```\n\n- run bun app with development mode\n\n```sh\n$ bun dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoweringcloud%2Fexpress-social-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoweringcloud%2Fexpress-social-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoweringcloud%2Fexpress-social-network/lists"}