node-template
Opinionated template repo to make a node server
Features
- ✅ typescript
- 🔍 linting
- ✨ prettier
- 🪝 pre-commit hook
- 💾 env ready
- 📄 pull request template
Development
Clone the repo
git clone git@github.com:<github-username>/<repo-name>.git
Install dependencies
yarn install
Create environment variable file
touch .env
Run app in development mode
yarn dev
Run linter
yarn lint
Production
Build app
yarn build
Run in production mode
yarn start