Simplest node.js + typescript setup (including path aliases 🤗)

--

Link: node.js-starter

Some time ago I was developing a reminder bot for telegram, and I wanted to use node.js, typescript, and path allies to better imports view.

If you don’t know what path aliases are look at that example:

As you can see, it allows you to make your import’s path looks pretty 🥰.

So I decided to share my node.js project setup which you can find flowing this URL https://github.com/JustEugen/nodejs-starter. You can find more detailed instructions on how to use it, inside of repository README.

Features of my starter:

  • Typescript;
  • Path aliases using module-alias;
  • ESlint;
  • Prettier;
  • Support .env files using dotenv package;
  • File watcher with nodemon (when you change code it will automatically rebuild your project);
  • Easy to use and easy to start.

--

--

No responses yet