{"id":18789844,"url":"https://github.com/marcelovicentegc/typescript-graphql-api","last_synced_at":"2025-04-13T14:30:42.382Z","repository":{"id":42966264,"uuid":"188919566","full_name":"marcelovicentegc/typescript-graphql-api","owner":"marcelovicentegc","description":"A node server featuring Typescript, GraphQL, TypeORM, PostgreSQL, and Express.","archived":false,"fork":false,"pushed_at":"2023-12-19T17:42:08.000Z","size":63751,"stargazers_count":18,"open_issues_count":8,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-12-20T12:21:14.817Z","etag":null,"topics":["apollo-server","boilerplate","docker","express","graphql","kotlin","nodejs","postgresql","redis","typeorm","typescript"],"latest_commit_sha":null,"homepage":"","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/marcelovicentegc.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}},"created_at":"2019-05-27T23:10:56.000Z","updated_at":"2023-12-04T03:21:32.000Z","dependencies_parsed_at":"2023-02-14T18:01:40.627Z","dependency_job_id":null,"html_url":"https://github.com/marcelovicentegc/typescript-graphql-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelovicentegc%2Ftypescript-graphql-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelovicentegc%2Ftypescript-graphql-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelovicentegc%2Ftypescript-graphql-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelovicentegc%2Ftypescript-graphql-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcelovicentegc","download_url":"https://codeload.github.com/marcelovicentegc/typescript-graphql-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223589139,"owners_count":17169897,"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":["apollo-server","boilerplate","docker","express","graphql","kotlin","nodejs","postgresql","redis","typeorm","typescript"],"created_at":"2024-11-07T21:08:48.614Z","updated_at":"2024-11-07T21:08:49.252Z","avatar_url":"https://github.com/marcelovicentegc.png","language":"TypeScript","readme":"# 🈚 typescript-graphql-api\n\n[![Build Status](https://dev.azure.com/marcelovicentegc/public-pipes/_apis/build/status/marcelovicentegc.typescript-graphql-api?branchName=master)](https://dev.azure.com/marcelovicentegc/public-pipes/_build/latest?definitionId=4\u0026branchName=master)\n[![Node CI](https://github.com/marcelovicentegc/typescript-graphql-api/workflows/Node%20CI/badge.svg)](https://github.com/marcelovicentegc/typescript-graphql-api/workflows/Node%20CI/badge.svg)\n\n## Features\n\n- Express\n- Apollo Server\n- TypeORM\n- GraphQL\n- PostgreSQL\n- Redis\n- Sentry\n\n## Directions\n\n1. Clone this repo: `git clone https://github.com/marcelovicentegc/typescript-graphql-api.git`\n2. Change directory: `cd typescript-graphql-api`\n3. Install dependencies: `npm i`\n4. Create a Postgres database and set your credentials on a `.env` file, similar to `.env.example` (you can start a Postgres db with Docker by running `npm run get:pg` followed by `npm run start:pg`)\n5. Create a Redis database and set your credentials on a `.env` file, similar to `.env.example` (you can start Redis with Docker by running `npm run get:redis` followed by `npm run start:redis`)\n6. Run the application: `npm start`\n7. Navigate to `http://localhost:8080/api`\n8. Make sure the app is up and running before generating the client types (`npm run gen`)\n\n## Configuration\n\n| Environment variable | Default value |\n| -------------------- | ------------- |\n| SESSION_SECRET       | random uuid   |\n| PORT                 | 8080          |\n| APOLLO_ENDPOINT      | /api          |\n| DB_HOST              | localhost     |\n| DB_NAME              | postgres      |\n| DB_USERNAME          | postgres      |\n| DB_PASSWORD          | postgres      |\n| REDIS_HOST           | localhost     |\n| REDIS_PORT           | 6379          |\n| REDIS_PASSWORD       | undefined     |\n| SENTRY_DNS           | undefined     |\n| ENVIRONMENT          | local         |\n\n## Demo\n\n\u003cimg src=\"./assets/typescript-graphql-api.gif\" /\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelovicentegc%2Ftypescript-graphql-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcelovicentegc%2Ftypescript-graphql-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelovicentegc%2Ftypescript-graphql-api/lists"}