{"id":19472931,"url":"https://github.com/rixcian/node-typescript-api-starter","last_synced_at":"2026-04-04T20:33:06.923Z","repository":{"id":45186754,"uuid":"430055659","full_name":"rixcian/node-typescript-api-starter","owner":"rixcian","description":"Starter project for REST API (Node, Typescript, Express, MikroORM, Passport, ...)","archived":false,"fork":false,"pushed_at":"2022-01-02T16:13:00.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T00:38:39.977Z","etag":null,"topics":["expressjs","mikro-orm","nodejs","typescript"],"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/rixcian.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":"2021-11-20T09:02:26.000Z","updated_at":"2022-01-02T16:10:53.000Z","dependencies_parsed_at":"2022-09-17T04:00:17.196Z","dependency_job_id":null,"html_url":"https://github.com/rixcian/node-typescript-api-starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rixcian/node-typescript-api-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixcian%2Fnode-typescript-api-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixcian%2Fnode-typescript-api-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixcian%2Fnode-typescript-api-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixcian%2Fnode-typescript-api-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rixcian","download_url":"https://codeload.github.com/rixcian/node-typescript-api-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixcian%2Fnode-typescript-api-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31413269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["expressjs","mikro-orm","nodejs","typescript"],"created_at":"2024-11-10T19:16:14.720Z","updated_at":"2026-04-04T20:33:06.899Z","avatar_url":"https://github.com/rixcian.png","language":"TypeScript","readme":"# Node Typescript REST API Starter\n\n## Used Technologies\n- Node.js\n- Typescript\n- Express.js\n- MikroORM\n- Passport\n- PostgreSQL\n- Prettier\n\n## Development\n1. Clone this repo\n2. Install dependencies with `yarn install`\n3. Rename `.env.sample` to `.env`\n4. Update variables in `.env` file\n5. If you're using different DB than PostgreSQL run these commands\n   ```markdown\n   1. Remove @mikro-cli/postgresql package\n       - `yarn remove @mikro-cli/postgresql`\n   2. Install different DB driver (https://mikro-orm.io/docs/installation/)\n       - e.g. `yarn add @mikro-cli/mysql`\n   3. Update `DB_TYPE` variable in `.env` file\n   ```\n6. Run migrations\n7. Run project in development mode with `yarn dev`\n\n## Deployment\n\n1. Clone this repo to deployment server\n2. Install dependencies `yarn install`\n3. Rename `.env.sample` to `.env`\n4. Update variables in `.env` file\n5. Build app with `yarn build`\n6. Create `frontend` folder inside `./dist`\n7. Copy built React app into `./dist/frontend` folder\n\n\n## Commands\nAll commands are specified inside `package.json` file\n\n### `yarn dev`\nRunning app in `development` mode (auto-compile \u0026 auto-restart after change). \n\n### `yarn build`\nBuilds app into `dist` folder\n\n### `yarn start`\nRunning built app from `dist` folder\n\n### `yarn entities:generate`\nGenerates entities from DB \u0026 saves them into `src/db/entities` folder\n\n### `yarn migration:create`\nCreates a new migration file (in `src/db/migrations`) witch applied changes inside entities\n\n### `yarn migration:up`\nApplies all (not applied) migrations to DB\n\n\n## Deployment\n1. `$ docker build . -t node-typescript-api`\n2. `$ docker run -p 8000:8000 -d --env-file .env --name api-starter node-typescript-api:latest`\n\n\n## Linters\n`TODO`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frixcian%2Fnode-typescript-api-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frixcian%2Fnode-typescript-api-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frixcian%2Fnode-typescript-api-starter/lists"}