This is a practical API using Node, TypeScript. It can be used as a sample starter project aswell
explore the demo here
- Node
- TypeScript
- Nextjs v13.4.1
- Main Packages: express, dotenv, mongoose, joi, reflect-metadata
- Dev Dependency Packages: @types/express , @types/jest , @types/node , @types/supertest , jest , supertest , ts-jest , ts-node ,ts-node-dev: , typescript
- Decorated Logging Function
- Supports Tests
- Typescript Modules
- Validation using Joi
- Database Connection & CRUD operation using Mongoose
Create .env from '.env.example' file and declare the project environment variables
Starting a development instance of the app
npm install
npm run devnpm install
npm run build
npm run startnpm install
npm run testInstall Rest Client for vs code and use files in rest folder.
