https://github.com/librity/ignite_finapi
Rocket Seat - Ignite - NodeJS - Challenge 9 - A bank account API made with Node, Jest and Typescript.
https://github.com/librity/ignite_finapi
bank-account challenge jest nodejs rocketseat-ignite typescript
Last synced: 7 months ago
JSON representation
Rocket Seat - Ignite - NodeJS - Challenge 9 - A bank account API made with Node, Jest and Typescript.
- Host: GitHub
- URL: https://github.com/librity/ignite_finapi
- Owner: librity
- Created: 2021-04-11T23:39:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T12:01:08.000Z (over 3 years ago)
- Last Synced: 2025-01-08T07:39:06.888Z (9 months ago)
- Topics: bank-account, challenge, jest, nodejs, rocketseat-ignite, typescript
- Language: TypeScript
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rocket Seat Ignite - FinAPI
## Table of Contents
- [About](#about)
- [Getting Started](#getting_started)
- [Resources](#resources)A bank account API made with Node, Jest and Typescript.
### Prerequisites
- `node >= 12.0.0`
- `yarn >= 1.22.0`### Installing
1. Clone this repo locally and install the required packages:
```bash
$ git clone https://github.com/librity/ignite_tests.git
$ cd ignite_tests
$ yarn install
```2. Create database and run migrate:
```bash
$ yarn typeorm schema:sync
$ yarn typeorm migration:run
```### Testing
Run tests with jest:
```bash
$ yarn test
```### Prettier
Run prettier on all files:
```bash
$ yarn prettify
```- https://jestjs.io/docs/getting-started