Continue building more features using Line0 and connect your GitHub for a seamless 2-way sync!
- Express.js with TypeScript
- Common Error objects
- Error middleware
- Response object for structured API responses
- Test configuration and coverage using Vitest
- Common scripts to run and test your APIs
- Hot-reloading for development
- Node.js 20 or higher
- npm, pnpm or yarn
- Docker (optional)
- Install dependencies:
npm install- Start development server:
npm run dev:localThe server will start on http://localhost:3000 with hot-reloading enabled.
npm run build:prod
npm run prod:servenpm run dev:local- Start local development server with hot-reloadnpm run build:prod- Build for productionnpm run prod:serve- Run production servernpm run test- Run testsnpm run coverage- Run tests with coverage report