This is a repository to bootstrap node and TypeScript project quickly. It has prettier and eslint set up, and you can use .env file to provide environment variables.
The setup is opinionated, as author prefers it. Maybe you'll like it, too...
Node (v16+) and yarn installed
- clone this repository
git clone https://github.com/mrkvon/node-typescript-starter.git name-of-your-project
- go to project folder
cd name-of-your-project
- install node modules
yarn
- rename project in
package.json
- optional:
cp .env.sample .env
if you want to use .env for defining environment variables, like secrets etc. - optional: also feel free to remove or change license (LICENSE file and entry in package.json), and this README
- run
yarn start
- develop your project starting from
src/index.ts
MIT