The open source repo for Layered Architecture is a modular and scalable software pattern for building web apps with Node.js, ExpressJS, and Prisma. It includes controllers, validators, and services for handling HTTP requests and business logic, along with a utils folder for common functions and middleware for modifying request/response objects.
- Typescript
- Node.js and express framework
- Prisma ORM
- Controllers
- Services
- Validators
- Utils and Middlwares folders
-
Clone this repository:
git clone https://github.com/Amorii1/Layered-Architecture-TS.git
-
Install dependencies and build the database :
cd Layered-Architecture-TS npm install npm prisma or yarn yarn prisma
-
Start the server :
npm start or yarn start
The server will start running on http://localhost:8000.
Contributions to the Layered Architecture open source repo are welcome! To contribute, please follow these steps:
- fork the repository to your own account.
- Create a branch for your feature or bug fix.
- Write your code and tests.
- Submit a pull request to the main repository.
##License This project is licensed under the MIT License.