Skip to content

a Node.js backend boilerplate with express, socket.io, mongodb and stripe

Notifications You must be signed in to change notification settings

eltharynd/node-ts-backend-boilerplate

Repository files navigation

Node TS Backend BOilerplate

This repo contains a boilerplate backend with Nodejs and Express in Typescript. It is currently intended for development/staging only.

Setting up the development environment

  • Install npm modules with

    npm install
  • Create an empty .env file in the root foder using sample.env as an example.

Starting the project with autoreload for development

  • In a console tab run the following to compile the code in watch mode

    tsc -w
  • In a different console tab run the following to start the server and make it reload on changes

    nodemon dist/index.js

Testing your code

  npm test

About

a Node.js backend boilerplate with express, socket.io, mongodb and stripe

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages