Giter Club home page Giter Club logo

node.express.starter's Introduction

node.express.starter

An Express.js starter project, built using Yarn2 and Typescript.

The starter project includes the following out of the box:

  • Authorization middleware
  • Error handling middleware
  • Logger middleware
  • Validation middleware
  • Database integration (TypeORM + PostgreSQL)
  • Containerization via Docker
  • Unit tests (100% coverage)
  • Integration tests (100% coverage)
  • Complete CI workflow (build -> test -> publish)

Test Coverage

Coverage lines Coverage functions Coverage branches Coverage statements

Getting Started

1. Clone the application

git clone https://github.com/nicolaspearson/node.express.starter.git

2. Build and run the app

Run the app in development mode:

yarn start:dev

The app will start running at http://localhost:3000

Run the app in release mode:

yarn start:docker

The app will start running at http://localhost:3000

Migrations

To generate missing migrations:

yarn db:migration:generate:missing InitialSchema

Contribution Guidelines

Never commit directly to main, create a feature branch and submit a pull request.

node.express.starter's People

Contributors

github-actions[bot] avatar nicolaspearson avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

node.express.starter's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(): pin @types/jsonwebtoken ^8.5.9 dev
  • chore(): pin @types/supertest ^2.0.16 dev
  • chore(): pin husky ^8.0.3 dev
  • chore(): pin nodemon ^2.0.22 dev
  • chore(): pin ts-node ^10.9.2 dev
  • fix(): pin hapijs monorepo (@hapi/boom, joi)
  • fix(): pin module-alias ^2.2.3
  • chore(): pin commitlint ^17.8.1 dev
  • chore(): pin concurrently ^7.6.0 dev
  • chore(): pin eslint ^8.57.0 dev
  • chore(): pin eslint-config-prettier ^8.10.0 dev
  • chore(): pin eslint-plugin-import ^2.29.1 dev
  • chore(): pin eslint-plugin-jest ^26.9.0 dev
  • chore(): pin prettier ^2.8.8 dev (prettier, @types/prettier)
  • chore(): pin pretty-quick ^3.3.1 dev
  • chore(): pin tsconfig-paths ^4.2.0 dev
  • chore(): pin typescript ^4.9.5 dev
  • chore(): pin typescript-eslint monorepo ^5.62.0 dev (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • chore(): pin yarn v3.8.1
  • fix(): pin class-validator ^0.14.1
  • fix(): pin dotenv ^16.4.5
  • fix(): pin pg ^8.11.3 (pg, @types/pg)
  • fix(): pin reflect-metadata ^0.2.1
  • chore(): pin commitlint v19 dev
  • chore(): pin concurrently v8 dev
  • chore(): pin eslint-config-prettier v9 dev
  • chore(): pin eslint-plugin-jest v27 dev
  • chore(): pin eslint-plugin-prettier v5 dev
  • chore(): pin husky v9 dev
  • chore(): pin jest monorepo v29 dev (major) (@types/jest, jest, jest-environment-node, ts-jest)
  • chore(): pin node v20 (node, @types/node)
  • chore(): pin nodemon v3 dev
  • chore(): pin prettier v3 dev (prettier, @types/prettier)
  • chore(): pin pretty-quick v4 dev
  • chore(): pin supertest ^6.3.4 dev (supertest, @types/supertest)
  • chore(): pin typescript v5 dev
  • chore(): pin typescript-eslint monorepo v7 dev (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • chore(): pin yarn v4
  • chore(workflows): pin actions/checkout action v4
  • chore(workflows): pin actions/setup-node action v4
  • chore(workflows): pin docker/login-action action v3
  • chore(workflows): pin docker/setup-buildx-action action v3
  • chore(workflows): pin google-github-actions/release-please-action action v4
  • chore(workflows): pin postgres docker tag to v16
  • fix(): pin jsonwebtoken v9 (jsonwebtoken, @types/jsonwebtoken)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • node 16-alpine
  • node 16-alpine
github-actions
.github/workflows/code.yml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/checkout v3
  • actions/setup-node v3
  • actions/checkout v3
  • actions/setup-node v3
  • postgres 13-alpine
.github/workflows/publish.yaml
  • actions/checkout v3
  • docker/setup-buildx-action v2
  • docker/login-action v2
.github/workflows/release-please.yaml
  • google-github-actions/release-please-action v3
npm
.yarn/sdks/eslint/package.json
.yarn/sdks/prettier/package.json
.yarn/sdks/typescript/package.json
package.json
  • @hapi/boom ^10.0.0
  • bcryptjs ^2.4.3
  • class-transformer ^0.5.1
  • class-transformer-validator ^0.9.1
  • class-validator ^0.13.2
  • dotenv ^16.0.1
  • ewl ^1.2.2
  • express ^4.18.1
  • joi ^17.6.0
  • jsonwebtoken ^8.5.1
  • module-alias ^2.2.2
  • pg ^8.7.3
  • reflect-metadata ^0.1.13
  • typeorm ^0.2.45
  • @types/bcryptjs ^2.4.2
  • @types/dotenv ^8.2.0
  • @types/express ^4.17.13
  • @types/jest ^28.1.7
  • @types/jsonwebtoken ^8.5.8
  • @types/node ^16.11.49
  • @types/pg ^8.6.5
  • @types/prettier ^2.7.0
  • @types/supertest ^2.0.12
  • @typescript-eslint/eslint-plugin ^5.33.1
  • @typescript-eslint/parser ^5.33.1
  • commitlint ^17.0.3
  • concurrently ^7.3.0
  • eslint ^8.22.0
  • eslint-config-prettier ^8.5.0
  • eslint-plugin-import ^2.26.0
  • eslint-plugin-jest ^26.8.3
  • eslint-plugin-ordered-imports ^0.6.0
  • eslint-plugin-prettier ^4.2.1
  • husky ^8.0.1
  • jest ^28.1.3
  • jest-coverage-badges ^1.1.2
  • jest-environment-node ^28.1.3
  • nodemon ^2.0.19
  • prettier ^2.7.1
  • pretty-quick ^3.1.3
  • supertest ^6.2.4
  • ts-jest ^28.0.8
  • ts-node ^10.9.1
  • ts-node-dev ^2.0.0
  • tsconfig-paths ^4.1.0
  • typescript ^4.7.4
  • node >=v16.16.0
  • yarn 3.2.1
nvm
.nvmrc
  • node 16.16.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.