{"id":13531466,"url":"https://github.com/itsyoboieltr/dbest-stack","last_synced_at":"2025-08-28T06:12:41.667Z","repository":{"id":197509433,"uuid":"694921887","full_name":"itsyoboieltr/dbest-stack","owner":"itsyoboieltr","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-25T20:20:40.000Z","size":1408,"stargazers_count":91,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-13T15:12:13.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/itsyoboieltr.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},"funding":{"github":["itsyoboieltr"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-09-22T01:12:33.000Z","updated_at":"2025-04-09T09:23:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf6afa9b-fba1-4c23-ab00-e4cc8f2f5350","html_url":"https://github.com/itsyoboieltr/dbest-stack","commit_stats":null,"previous_names":["itsyoboieltr/dbest-stack"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsyoboieltr%2Fdbest-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsyoboieltr%2Fdbest-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsyoboieltr%2Fdbest-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsyoboieltr%2Fdbest-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsyoboieltr","download_url":"https://codeload.github.com/itsyoboieltr/dbest-stack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732489,"owners_count":21152852,"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-08-01T07:01:03.221Z","updated_at":"2025-04-13T15:12:18.041Z","avatar_url":"https://github.com/itsyoboieltr.png","language":"TypeScript","funding_links":["https://github.com/sponsors/itsyoboieltr"],"categories":["others","Resources","TypeScript","Boilerplates"],"sub_categories":["🏃 Examples and Starter Kits"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/itsyoboieltr/dbest-stack/assets/72046715/b04f7074-80e7-4af8-bdcd-5ce532cca213\" width=\"250\" alt=\"DBEST stack\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\n  DBEST stack\n\u003c/h1\u003e\n\nThe `DBEST` stack is a bun-based 🔥 `BLAZINGLY FAST` 🔥 full-stack `100% type-safe` web development solution that provides `everything` you need to build a `production-ready` web app based on the performant and scalable SolidStart meta-framework. It consists of:\n\n- [Drizzle](https://orm.drizzle.team)\n- [Bun](https://bun.sh)\n- [Elysia](https://elysiajs.com)\n- [SolidStart](https://start.solidjs.com/)\n- [Tailwind CSS](https://tailwindcss.com)\n\n## Creating a project\n\nCreate a new project\n\n```bash\nbun create itsyoboieltr/dbest-stack\n```\n\nOptionally specify a name for the destination folder. If no destination is specified, the name `dbest-stack` will be used.\n\n```bash\nbun create itsyoboieltr/dbest-stack my-app\n```\n\nBun will perform the following steps:\n\n- Download the `template`\n- Copy all template files into the `destination folder`\n- Install dependencies with `bun i`.\n- Initialize a fresh Git repo. Opt out with the `--no-git` flag.\n\n## Developing\n\nYou can start the `development server` with:\n\n```bash\nbun dev\n```\n\n## Building\n\nBuild for `production` by running the following command:\n\n```bash\nbun run build\n```\n\n## Running\n\nRun in `production` by running the following command:\n\n```bash\nbun start\n```\n\n## Database\n\nIn case your database schema does not match the schema defined by `drizzle`, then the database needs to be synchronized. This can be done by running the following command:\n\n```bash\nbun push\n```\n\nIn addition, `drizzle studio` can be used to connect to the database and browse, add, delete and update data based on the declared `drizzle schema`.\n\n```bash\nbun studio\n```\n\n## Environment variables ([.env](.env.example))\n\n- `PORT`: port that the application runs on. Default: `3000`\n\n- `VITE_HOST_URL`: host URL for the application. Default: `http://localhost:3000`\n\n- `DATABASE_USER`: database user for Postgres. Default: `postgres`\n\n- `DATABASE_PASSWORD`: database password for Postgres. Default: `example`\n\n- `DATABASE_NAME`: database name for Postgres. Default: `dbest`\n\n- `DATABASE_URL`: database connection URL for Postgres. Default `memory://dbest`\n\n- `DATABASE_BACKUP_PATH`: path where the database backups are stored. Default: `$HOME/backup`\n\n- `COMPOSE_PROFILES`: profiles for `docker compose`. Default: `development`\n  - In a production setting, you might want to enable backups for the database. This can be done by setting the `COMPOSE_PROFILES` environment variable to `production`.\n\n## Deployment\n\nUsing the [Dockerfile](Dockerfile) or the [docker-compose.yml](docker-compose.yml) file, the application can be deployed to any `docker host`. The following command will build the `docker image` and start the application.\n\n```bash\ndocker compose up -d\n```\n\nTo stop the application, run the following command:\n\n```bash\ndocker compose down\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsyoboieltr%2Fdbest-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsyoboieltr%2Fdbest-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsyoboieltr%2Fdbest-stack/lists"}