This is an online store repository built with PostgreSQL and Prisma as the database layer, Express, Typescript and REST. This repository represents a challenge for a Node.js developer trainee position.
proyecto/
├── node_modules/
├── prisma/
├── docs/
├── src/
│ ├── index.ts
│ ├──__test__/
│ │ ├── api/
│ │ ├── modules/
│ │ └── ...
│ ├── api/
│ │ ├── docs.ts
│ │ └── main.ts
│ ├── config/
│ │ ├── mailer.ts
│ │ ├── multer.ts
│ │ └── ...
│ ├── middleware/
│ │ ├── client.ts
│ │ └── manager.ts
│ ├── modules/
│ │ ├── auth/
│ │ │ ├── controller.ts
│ │ │ ├── services.ts
│ │ │ └── DAL.ts
│ │ └── ...
│ ├── patterns/
│ │ ├── server.Singleton.ts
│ │ └── ...
│ ├── services/
│ │ ├── forgot.password.ts
│ │ └── ...
│ └── utils/
│ ├── lib.ts
│ └── ...
├── tests/
│ ├── unit/
│ └── integration/
├── uploads/
├── .gitignore
├── package.json
└── README.md
Send an email when left <= 3 item only
Using MAILTRAP for send emails Send an email when the user change the password
Clone repository
git clone https://github.com/luismoroco/TInyStore.gitinit Postgress image
docker-compose up -dInstall dependecies
yarn installMigrate Prisma Model
yarn prismaStart server
yarn start

