{"id":19818562,"url":"https://github.com/jhonoryza/sveltekit-todoapps-api","last_synced_at":"2025-02-28T15:27:38.977Z","repository":{"id":189354808,"uuid":"679793423","full_name":"jhonoryza/sveltekit-todoapps-api","owner":"jhonoryza","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-29T08:28:53.000Z","size":195,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T08:13:48.928Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhonoryza.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}},"created_at":"2023-08-17T16:22:33.000Z","updated_at":"2023-08-29T08:27:17.000Z","dependencies_parsed_at":"2023-08-29T14:28:57.894Z","dependency_job_id":null,"html_url":"https://github.com/jhonoryza/sveltekit-todoapps-api","commit_stats":null,"previous_names":["jhonoryza/svelkit-todoapps-api","jhonoryza/sveltekit-todoapps-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhonoryza%2Fsveltekit-todoapps-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhonoryza%2Fsveltekit-todoapps-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhonoryza%2Fsveltekit-todoapps-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhonoryza%2Fsveltekit-todoapps-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhonoryza","download_url":"https://codeload.github.com/jhonoryza/sveltekit-todoapps-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241174590,"owners_count":19922344,"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-12T10:16:03.536Z","updated_at":"2025-02-28T15:27:38.957Z","avatar_url":"https://github.com/jhonoryza.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sveltekit todoapps api\n\nthis repo is an example implementation to create restfull api with svelkit and add integration testing\n\n## what in this repo ?\n\n- svelkit (js framework)\n- playwright (test package)\n- drizzle-orm (orm)\n- drizzle-kit (orm cli helper)\n- mysql2 (mysql driver)\n- joi (validation package)\n- bcrypt (hash package)\n- winston (logger package)\n- uuid (for generate token)\n\n## Developing\n\n```bash\npnpm install\ncp .env.example .env\npnpm migration:generate\npnpm migration:push #choose env development\npnpm run dev\n```\n\nnotes:\n\n- check .env and create database according to your development environment\n- check .env.test before running test and create database according test environment\n- recommended to use different database for development and testing\n\n## Testing\n\n```bash\npnpm migration:generate\npnpm migration:push #choose env test\npnpm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhonoryza%2Fsveltekit-todoapps-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhonoryza%2Fsveltekit-todoapps-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhonoryza%2Fsveltekit-todoapps-api/lists"}