ahmedOpeyemi / typescript-express-boilerplate

Node.js, Express and Typescript Boilerplate for Web apps with VS Code tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js, Express and TS Boilerplate for Web apps with VS Code tasks

This is a minimalistic boilerplate for building web applications using Node.js, Express, and Typescript. The boilerplate also contains VS Code launch configurations to help you run and debug your code.

Getting Started

  1. Clone the project

    git clone https://github.com/ahmedOpeyemi/typescript-express-boilerplate 
    
  2. Run NPM install

    cd typescript-express-boilerplate
    npm install
    

NPM Commands available

  1. npm run build - Transpiles the TS files to the JS equivalent in the dist folder.
  2. npm run start - Starts the app and runs it on the port defined.

Using the boilerplate in VS Code

To start the project,

  1. Go to run view ⇧⌘D,
  2. Run "Run Express Server"

License

Free to use, free to share.

About

Node.js, Express and Typescript Boilerplate for Web apps with VS Code tasks


Languages

Language:TypeScript 100.0%