{"id":16050205,"url":"https://github.com/erikyo/tauri-app-starter","last_synced_at":"2025-02-23T07:28:03.169Z","repository":{"id":224098331,"uuid":"762381013","full_name":"erikyo/tauri-app-starter","owner":"erikyo","description":"Tauri Todo App is a boilerplate for building feature-rich full-stack application","archived":false,"fork":false,"pushed_at":"2024-03-03T23:24:04.000Z","size":1336,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T16:44:49.658Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erikyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-23T16:57:06.000Z","updated_at":"2024-02-27T11:33:29.000Z","dependencies_parsed_at":"2024-02-29T01:25:24.543Z","dependency_job_id":"c6182c7f-7936-457b-ba6f-463f858d4030","html_url":"https://github.com/erikyo/tauri-app-starter","commit_stats":null,"previous_names":["erikyo/tauri-app-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikyo%2Ftauri-app-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikyo%2Ftauri-app-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikyo%2Ftauri-app-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikyo%2Ftauri-app-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erikyo","download_url":"https://codeload.github.com/erikyo/tauri-app-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240283491,"owners_count":19776884,"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-10-09T00:42:59.152Z","updated_at":"2025-02-23T07:28:03.118Z","avatar_url":"https://github.com/erikyo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# App\n\nThe Tauri Todo App is a full-stack application designed as a starting point for building feature-rich, containerized applications. \n\n### RestAPI Server\nThe API server is built using Fastify, a high-performance web framework for Node.js. The server is configured with HTTPS, logging, authentication via Supertokens, and Swagger documentation.\n\n### Frontend App\nA simple Todo application built with React, React Router, and Tauri APIs. The frontend integrates Supertokens for secure authentication.\n\n![image](https://github.com/erikyo/tauri-app-starter/assets/8550908/cf8266e5-6b78-43a6-b468-e09bc3cdc86a)\n\n### Features\n\n**Dockerized Environment**: Utilizes Docker Compose to orchestrate services such as MySQL, Supertokens, and Fastify API for seamless development.\n\n**Frontend (React) App**: A simple Todo application built with React, React Router, Tailwind, and Tauri APIs. The frontend integrates Supertokens for secure authentication.\n\n**Fastify REST API**: Employs Fastify, a high-performance web framework, for the backend API. The API supports CRUD operations for managing tasks.\n\n**Supertokens Authentication**: Enhances security with Supertokens, providing a robust authentication mechanism for user sessions.\n\n**Tauri Integration**: Utilizes Tauri, a framework for building native-like applications, to package and distribute the app across different platforms.\n\n\n### Docker-compose will bring up a full-stack application with the following services:\n\n- db-supertokens: MySQL database for Supertokens. (port 3307)\n- supertokens: Supertokens service. (port 3456)\n- db-app: MySQL database for the application. (port 3306)\n- adminer: Adminer for MySQL database management (port 3002)\n- api: Dockerized Fastify API server (port 3001)\n- app: Node.js image for building and running the frontend app (port 3000)\n\n# Requirements\n\n**Docker**\n\nDownload the latest version of Docker Desktop from [here](https://www.docker.com/products/docker-desktop)\n\n**Node.js**\n\nDownload the latest version of Node.js from [here](https://nodejs.org/en/download/)\n\n## How to use\n\n#### Run the app\n\nstarts the app in development mode\n\n```bash \nnpm run start\n```\n\n#### Run the tests\n\nWill run the test suite\n\n```bash \nnpm run tests\n```\n\n#### Re-build \n\nNormally isn't required, you nee it to rebuild containers after a docker configuration change\n\n```bash\nnpm run force-reload\n```\n\n#### Down\n\nShut down the current docker container\n\n```bash\nnpm run down\n```\n\n## Publishing the app\n\nIn order to release the app you need to copy the env file and name it `.env.production`. Then edit that file using the production ip, ports, secrets and run \n\n```bash\nnpm run build-app\n```\n\nThat's it!🎉 Tauri will build the Windows/Linux/MacOs app following the configuration located in [tauri.conf.json](https://github.com/erikyo/tauri-app-starter/blob/master/app/src-tauri/tauri.conf.json)\n\n## Contributions\n\nContributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikyo%2Ftauri-app-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferikyo%2Ftauri-app-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikyo%2Ftauri-app-starter/lists"}