{"id":20847566,"url":"https://github.com/symbux/turbo-starter","last_synced_at":"2026-05-03T23:34:21.988Z","repository":{"id":42566976,"uuid":"435877222","full_name":"Symbux/Turbo-Starter","owner":"Symbux","description":"A boilerplate application for the Turbo engine with the Turbo Vite SSR plugin installed with Translations, Prisma ORM, Docker build files, Pinia, Vue Router and using Vue 3 + TypeScript.","archived":false,"fork":false,"pushed_at":"2023-01-10T01:26:38.000Z","size":463,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-19T05:38:28.448Z","etag":null,"topics":["mongo","mongodb","rest-api","typescript","vue","vue3","websocket"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Symbux.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}},"created_at":"2021-12-07T12:46:52.000Z","updated_at":"2023-12-07T14:49:27.000Z","dependencies_parsed_at":"2023-02-08T16:31:19.342Z","dependency_job_id":null,"html_url":"https://github.com/Symbux/Turbo-Starter","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/Symbux%2FTurbo-Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Symbux%2FTurbo-Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Symbux%2FTurbo-Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Symbux%2FTurbo-Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Symbux","download_url":"https://codeload.github.com/Symbux/Turbo-Starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243213867,"owners_count":20254879,"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":["mongo","mongodb","rest-api","typescript","vue","vue3","websocket"],"created_at":"2024-11-18T02:21:56.528Z","updated_at":"2026-05-03T23:34:16.967Z","avatar_url":"https://github.com/Symbux.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turbo Starter Project\n\nThis is a boilerplate/starter project for the Turbo engine.\n\n\u003cbr\u003e\n\n## Features\n\n* Turbo Engine\n* MongoDB\n* Prisma ORM _(Turbo initialises this)_.\n* Translations\n* Docker build file.\n* Vue 3\n* Vue Router\n* Pinia (Vuex replacement)\n* TypeScript\n* Eslint\n\n\u003cbr\u003e\n\n## Project Setup\n\n**Clone the repository.**  \n```sh\ngit clone git@github.com:Symbux/Turbo-Starter.git \u003cfolder\u003e\ncd \u003cfolder\u003e\n```\n\n**Setup the project.**  \n_This will install any required dependencies in both the web and api folders._\n```sh\nyarn setup\n```\n\n**Copy and fill out the environment file.**  \n_Make sure that the port you use in the .env file is the same as the one in the `vite.config.js` file._\n```sh\ncp api/.env.example api/.env\n```\n\n**Generate the prisma client.**  \n_This will generate the prisma client with all the types based on the schema._\n```sh\nyarn prisma:gen\n```\n\n**Database Configuration.**  \n_Prisma ORM requires that the MongoDB instance is setup as a replica set, in the `./db` folder there is an example single node cluster for development, we suggest that for large scale production apps you configure a multi-node replica set, or using something like Mongo Atlas._\n```sh\ncd ./db\ndocker-compose up -d\n\n# Only run the below once on first launch of the database (the setting is saved after restarts).\ndocker-compose exec mongo mongo --eval \"rs.initiate({_id: 'rs0', members: [{_id: 0, host: '127.0.0.1:27017'}]});\"\n```\n\nYou are now all set, see the next section to start developing.\n\n\u003cbr\u003e\n\n## Developing\n\n**Run the development server.**  \n_This will launch the Vite dev server and the turbo engine in dev mode together._\n```sh\nyarn dev\n```\n\n**Run the dev server's seperately.**  \n_If you want to launch the dev servers separately, because you want to see the logs better, you can run the following commands in two different terminals._\n```sh\nyarn dev:api\nyarn dev:web\n```\n\n**Navigate to browser.**  \n_This will be the Vite dev server, proxying all connections to your turbo app._\n```sh\nhttp://localhost:3000\n```\n\n\u003cbr\u003e\n\n## Building\n\n**Build the project.**  \n_This will build both projects, and the API will host the built Vue files._\n```sh\nyarn build\n```\n\n**Build only the API.**\n_This will build the API only._\n```sh\nyarn build:api\n```\n\n**Build only the web.**\n_This will build the web only._\n```sh\nyarn build:web\n```\n\n\u003cbr\u003e\n\n## Launching Production\n\n\u003e Make sure you have built the application first!\n\n**Start the server.**  \n_This will start the Turbo engine which will host the built Vue files._\n```sh\nyarn start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymbux%2Fturbo-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymbux%2Fturbo-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymbux%2Fturbo-starter/lists"}