Skip to content

Repository files navigation

Tiny Store

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.

Structure

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

SCREENSHOTS

Mail

Send an email when left <= 3 item only

mail

Changue Password

Using MAILTRAP for send emails Send an email when the user change the password

mail_1

mail_2

Run Locally

Clone repository

  git clone https://github.com/luismoroco/TInyStore.git

init Postgress image

  docker-compose up -d

Install dependecies

  yarn install

Migrate Prisma Model

  yarn prisma

Start server

  yarn start

Swagger API

http://localhost:3000/documentation

About

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.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages