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!
https://github.com/jovimoura/widget-app
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 |
git clone https://github.com/jovimoura/widget-api
cd <name-folder>
npm i
npm run test
npm run dev
http://localhost:3333/
- Node
- Express
- TypeScript
- Prisma
- Nodemailer
- Jest
- Cors