{"id":21411702,"url":"https://github.com/flandrade/express-typescript-scaffolding","last_synced_at":"2026-05-21T10:03:44.143Z","repository":{"id":83193421,"uuid":"143635981","full_name":"flandrade/express-typescript-scaffolding","owner":"flandrade","description":"An opinionated scaffolding: Express + TypeScript + Sequelize","archived":false,"fork":false,"pushed_at":"2019-04-01T02:51:09.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T18:17:19.999Z","etag":null,"topics":["express","factory","linter","scaffolding","sequelize","starter","tests","typescript","unit-testing"],"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/flandrade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-08-05T18:02:37.000Z","updated_at":"2023-03-09T01:51:56.000Z","dependencies_parsed_at":"2023-07-03T17:46:36.536Z","dependency_job_id":null,"html_url":"https://github.com/flandrade/express-typescript-scaffolding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flandrade/express-typescript-scaffolding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flandrade%2Fexpress-typescript-scaffolding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flandrade%2Fexpress-typescript-scaffolding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flandrade%2Fexpress-typescript-scaffolding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flandrade%2Fexpress-typescript-scaffolding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flandrade","download_url":"https://codeload.github.com/flandrade/express-typescript-scaffolding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flandrade%2Fexpress-typescript-scaffolding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33297143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"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":["express","factory","linter","scaffolding","sequelize","starter","tests","typescript","unit-testing"],"created_at":"2024-11-22T17:47:21.181Z","updated_at":"2026-05-21T10:03:44.100Z","avatar_url":"https://github.com/flandrade.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An opinionated scaffolding: Express + TypeScript + Sequelize\n\n[![CircleCI](https://circleci.com/gh/flandrade/express-typescript-scaffolding.svg?style=svg)](https://circleci.com/gh/flandrade/express-typescript-scaffolding)\n\nAn opinionated scaffolding to build an application with Express, TypeScript and Sequelize.\n\n- **[TypeScript](https://www.typescriptlang.org/)** is a superset of JavaScript\nthat compiles to plain JavaScript.\n- TypeScript development's support with **[TSLint](https://palantir.github.io/tslint/)**\nand **[ts-node](https://github.com/TypeStrong/ts-node)**.\n- The **[Sequelize](http://docs.sequelizejs.com/)** library provides easy access to\ndatabases by mapping database entries to objects and vice versa.\n- **[Mocha](https://mochajs.org/)** and **[Chai](https://www.chaijs.com/)** for unit\ntesting. In addition, **[factory-girl](https://github.com/aexmachina/factory-girl)**\nis the factory library to generate fake data for tests.\n- Other libraries:\n  - [ramda](https://ramdajs.com/): a functional programming library.\n  - [bluebird](http://bluebirdjs.com/docs/getting-started.html): a third party\npromise library.\n  - [dotenv-safe](https://github.com/rolodato/dotenv-safe): load environment\n  variables from .env and ensure they are all present.\n\n## Getting started\n\n### Clone the repository\n\n```\ngit clone git@github.com:flandrade/express-typescript-scaffolding.git\ncd express-typescript-scaffolding\n```\n\n### Install NVM and select the Node version\n\nInstall [nvm](https://github.com/creationix/nvm) to manage several Node versions.\nAfter install, run the following commands in the project directory:\n\n```\nnvm install\nnvm use\n```\n\n### Install your database\n\nThis scaffolding uses Postgres. In Linux, you can download the installer from\n[Postgres](https://www.postgresql.org/download/). On Mac, you can use\n[Postres App](https://postgresapp.com/).\n\n\n### Setup the application\n\nIn order to setup the application, some environment variables are needed. For this,\ncopy the `.env.example` to `.env` and define the variable\n\n```\n$ cp .env.example .env\n```\n\nThis scaffolding requires the database `scaffolding_development` URI for development:\n\n```\nDATABASE_URI=postgresql://\u003cuser\u003e:\u003cpassword\u003e@localhost/scaffolding_development\n```\n\nFor the testing environment, the database is `scaffolding_test`:\n\n```\nDATABASE_URI=postgresql://\u003cuser\u003e:\u003cpassword\u003e@localhost/scaffolding_test\n```\n\n### Run the setup script\n\nRun the following script to install the dependencies, create the databases and\nrun the migrations for both development and testing.\n\n```\n./bin/setup.sh\n```\n\n### Run the application\n\nStart the application by running:\n\n```\nnpm start\n```\n\nWhen started, the application will be available at [http://localhost:3000/users](http://localhost:3000/users)\n\n## Tests\n\nTo run tests:\n\n```\n$ npm test\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflandrade%2Fexpress-typescript-scaffolding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflandrade%2Fexpress-typescript-scaffolding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflandrade%2Fexpress-typescript-scaffolding/lists"}