{"id":13479461,"url":"https://github.com/gothinkster/node-express-realworld-example-app","last_synced_at":"2025-05-14T13:06:30.027Z","repository":{"id":37734280,"uuid":"63410856","full_name":"gothinkster/node-express-realworld-example-app","owner":"gothinkster","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-01T21:56:04.000Z","size":345,"stargazers_count":3689,"open_issues_count":59,"forks_count":1627,"subscribers_count":89,"default_branch":"master","last_synced_at":"2025-04-19T09:24:13.836Z","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/gothinkster.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":"2016-07-15T09:41:40.000Z","updated_at":"2025-04-19T00:27:28.000Z","dependencies_parsed_at":"2023-01-30T05:30:40.235Z","dependency_job_id":"d7f847eb-d347-49ec-ba22-35dca35cd7d9","html_url":"https://github.com/gothinkster/node-express-realworld-example-app","commit_stats":null,"previous_names":["gothinkster/productionready-node-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gothinkster%2Fnode-express-realworld-example-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gothinkster%2Fnode-express-realworld-example-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gothinkster%2Fnode-express-realworld-example-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gothinkster%2Fnode-express-realworld-example-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gothinkster","download_url":"https://codeload.github.com/gothinkster/node-express-realworld-example-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254149953,"owners_count":22022851,"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-07-31T16:02:16.701Z","updated_at":"2025-05-14T13:06:24.998Z","avatar_url":"https://github.com/gothinkster.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","🧑‍💻 Full Stack Development"],"sub_categories":["🛠️ Project Repositories"],"readme":"# ![Node/Express/Prisma Example App](project-logo.png)\n\n[![Build Status](https://travis-ci.org/anishkny/node-express-realworld-example-app.svg?branch=master)](https://travis-ci.org/anishkny/node-express-realworld-example-app)\n\n\u003e ### Example Node (Express + Prisma) codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld-example-apps) API spec.\n\n\u003ca href=\"https://thinkster.io/tutorials/node-json-api\" target=\"_blank\"\u003e\u003cimg width=\"454\" src=\"https://raw.githubusercontent.com/gothinkster/realworld/master/media/learn-btn-hr.png\" /\u003e\u003c/a\u003e\n\n## Getting Started\n\n### Prerequisites\n\nRun the following command to install dependencies:\n\n```shell\nnpm install\n```\n\n### Environment variables\n\nThis project depends on some environment variables.\nIf you are running this project locally, create a `.env` file at the root for these variables.\nYour host provider should included a feature to set them there directly to avoid exposing them.\n\nHere are the required ones:\n\n```\nDATABASE_URL=\nJWT_SECRET=\nNODE_ENV=production\n```\n\n### Generate your Prisma client\n\nRun the following command to generate the Prisma Client which will include types based on your database schema:\n\n```shell\nnpx prisma generate\n```\n\n### Apply any SQL migration script\n\nRun the following command to create/update your database based on existing sql migration scripts:\n\n```shell\nnpx prisma migrate deploy\n```\n\n### Run the project\n\nRun the following command to run the project:\n\n```shell\nnpx nx serve api\n```\n\n### Seed the database\n\nThe project includes a seed script to populate the database:\n\n```shell\nnpx prisma db seed\n```\n\n## Deploy on a remote server\n\nRun the following command to:\n- install dependencies\n- apply any new migration sql scripts\n- run the server\n\n```shell\nnpm ci \u0026\u0026 npx prisma migrate deploy \u0026\u0026 node dist/api/main.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgothinkster%2Fnode-express-realworld-example-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgothinkster%2Fnode-express-realworld-example-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgothinkster%2Fnode-express-realworld-example-app/lists"}