/widget-api

A simple API made with Node, Express and Prisma

Primary LanguageHTML

To Do Widget API

A simple API made with Node, Express, TypeScript, Prisma, Cors, SQLite in dev ambient, PostgreSQL in deploy, Railway in deploy, and with unit tests made with Jest.

This API was developed using TDD and SOLID concepts, making its maintenance much easier and, if necessary, making your transfer from one bank to another much easier.

API uses Jest for testing use-cases and other features!


Front-end Repo:

https://github.com/jovimoura/widget-app

API Doc.


Send one Feedback Route

  POST /feedbacks
Param Type Description
type string Mandatory. Type of the feedback
Param Type Description
comment string Mandatory. Comment of the feedback
Type Type Description
screenshot string Optional. Screenshot url of the feedback

Installation

Clone

git clone https://github.com/jovimoura/widget-api

Access the folder

cd <name-folder>

Install dependencies

npm i

Run test's

npm run test

Start the app

npm run dev

Port:

http://localhost:3333/

Tecnologies and Libs:

  • Node
  • Express
  • TypeScript
  • Prisma
  • Nodemailer
  • Jest
  • Cors

Made by:

João Victor dos Santos Moura

E-mail: joaovictors.mouraa@gmail.com

Linkedin: https://www.linkedin.com/in/jovimoura10/