This repository provides a robust template for developing Node.js applications using TypeScript. It's designed to help you quickly start new projects with a solid foundation and best practices in place.
- TypeScript Support: Leverage the power of static typing for more reliable code.
- ESBuild: Fast bundling and minification for production builds.
- tsx: Automatic server restarts during development for a smoother workflow.
- Jest: Integrated testing framework for writing and running tests.
- ESLint: Linting tool to help maintain code quality and consistency.
- Prettier: Code formatter to ensure uniform code style across your project.
- NPM Scripts: Pre-configured scripts for common tasks like building, testing, and running the application.
- Clone this repository
- Run
npm install
to install dependencies - Use
npm run dev
to start the development server - Write your code in the
src
directory
npm run build
: Build the project for productionnpm run dev
: Start the development server with hot-reloadingnpm run lint
: Run ESLint to check for code issuesnpm test
: Run Jest testsnpm run coverage
: Run tests with coverage reportnpm start
: Run the production build
src/
: Source code directorytests/
: Test filesbuild/
: Compiled output (generated after build)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.