An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Rocket Seat Ignite - FinAPI

## Table of Contents

- [About](#about)
- [Getting Started](#getting_started)
- [Resources](#resources)

## About

A bank account API made with Node, Jest and Typescript.

## Getting Started

### 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
```

## Resources

- https://jestjs.io/docs/getting-started