This project is my implementation of the Financial Transactions app which is the challenger project for the Rocketseat GoStak 2020.
This repository uses API Blueprint to generate API documentation. You can find the documentation here.
- OOP
- Interface
- Separation of Concerns (SoC)
- Don't Repeat Yourself (DRY)
- Single Responsability Principle (SRP)
- Dependendy Inversion Principle (DIP)
Packages | Version |
---|---|
TS-node-dev | npm version 1.0 |
Date-fns | npm version 2.14 |
Eslint | |
UUIdv4 | |
Prettier | |
Express | |
TypeScript | |
Jest |
node --version
npm install -g yarn
yarn -version
npm install -g typescript
tsc --version
Clone the repo and use yarn
to install dependecies
git clone https://github.com/georgebezerra/gostack-fundamentos-node
cd gostack-fudamentos-node
yarn install
Start server
yarn dev:server
The visit http://localhost:3333/transactions
for example.
Test
# Run tests
yarn test
Deployment
yarn build
TRANSACTIONS
POST api/transactions
- Add a new transactionGET api/transactions
- Get all of the transactions
This project is open-source software licensed under the GNU General Public License v3.0
Development by
Developer / Author: George Bezerra