{"id":19226511,"url":"https://github.com/jasonraimondi/scratchy","last_synced_at":"2025-04-21T00:32:45.147Z","repository":{"id":46236714,"uuid":"288926903","full_name":"jasonraimondi/scratchy","owner":"jasonraimondi","description":"A majestic monolith. My magical code playground that I can do whatever I want with.","archived":false,"fork":false,"pushed_at":"2022-11-17T03:15:28.000Z","size":4398,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"trpc","last_synced_at":"2025-04-01T07:24:17.054Z","etag":null,"topics":["bull","docker","e2e-tests","graphql","mjml","nestjs","nodejs","postgres","tests","typeorm","typescript","unit-tests"],"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/jasonraimondi.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}},"created_at":"2020-08-20T06:37:02.000Z","updated_at":"2023-10-04T11:47:56.000Z","dependencies_parsed_at":"2023-01-23T16:15:19.807Z","dependency_job_id":null,"html_url":"https://github.com/jasonraimondi/scratchy","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonraimondi%2Fscratchy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonraimondi%2Fscratchy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonraimondi%2Fscratchy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonraimondi%2Fscratchy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasonraimondi","download_url":"https://codeload.github.com/jasonraimondi/scratchy/tar.gz/refs/heads/trpc","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249980784,"owners_count":21355503,"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":["bull","docker","e2e-tests","graphql","mjml","nestjs","nodejs","postgres","tests","typeorm","typescript","unit-tests"],"created_at":"2024-11-09T15:19:03.262Z","updated_at":"2025-04-21T00:32:44.811Z","avatar_url":"https://github.com/jasonraimondi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scratchy\n\n## Getting Started\n\nBoot Docker services\n\n```bash\ndocker-compose up -d\n```\n\nInstall Dependencies\n\n```bash\npnpm install\n```\n\nThe install command should also run this next generator for you in a 'postinstall' hook. This generates the prisma client for the backend, and the api client library for sveltekit. You can rerun the command with the following.\n\n```bash\npnpm -r gen\n```\n\nNext, initialize \u0026 seed the database. This creates the actual database, and runs all migrations for you. Then it runs a [seed](api/prisma/seed.ts) command for you that sets up some sample data.\n\nNote: If you see the error `User scratchy was denied access on the database scratchy.public`, you will need to check if the postgres running on port 5432. Likely, you have multiple postgres servers running on your host machine, and the one running on port 5432 is not able to authenticate with the `scratchy` user.\n\n```bash\npnpm db\n```\n\nStart dev mode, either use overmind or look in the [Procfile](./Procfile) and use that as a starting point. You need the **api** and **web**, the generators are optional.\n\n```bash\novermind start\n```\n\n### Graphql\n\nAfter booting the api, you can nav to the graphiql editor here: http://localhost:5000/graphiql\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonraimondi%2Fscratchy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonraimondi%2Fscratchy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonraimondi%2Fscratchy/lists"}