/node-api-boilerplate

A simple API implementation using Node.js and Express.js, featuring Inversion of Control (IoC) and Dependency Injection (DI) for better code modularity and testability.

Primary LanguageTypeScript

ExpressJs simple API using IoT and DP

This repository demonstrates a simple API implementation using Node.js and Express.js. It leverages Inversion of Control (IoC) and Dependency Injection (DI) to enhance modularity and maintainability. The API utilizes Prisma ORM for efficient database interactions, ensuring seamless data management. Additionally, it employs OOP approach instead of functional, promoting organized and scalable code architecture. This project was created thanks to the AlariCode tutorials.

Setup

npm install
npx prisma migrate deploy

Lint

npm run lint

Development

npm run dev