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

https://github.com/than-dev/postgres-api

NodeJS API using Postgres native driver and Typescript!
https://github.com/than-dev/postgres-api

api backend database nodejs postgresql typescript

Last synced: 2 months ago
JSON representation

NodeJS API using Postgres native driver and Typescript!

Awesome Lists containing this project

README

          






## Description

It is an users API developed with Typescript, nodeJs, Postgres driver and good practices of clean architecture!



## Installing

After clone it, just run:

```
yarn install
```

or

```
npm install
```



## Usage

With Postgres running in your machine, you can configure it on: src/database/connection.ts!

### To run all migrations and create the tables, just run:

```
yarn run-migrations
```

or

```
npm run run-migrations
```

### Undo it with:

```
yarn revert-migrations
```

or

```
npm run revert-migrations
```




In project there is a folder called http that contains all api usage instructions!