Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/poowaa/conduit-api-nest

Real world app API via NestJS
https://github.com/poowaa/conduit-api-nest

Last synced: about 2 months ago
JSON representation

Real world app API via NestJS

Awesome Lists containing this project

README

        

# Conduit API Nest

[RealWorld API](https://github.com/gothinkster/realworld/blob/master/api/README.md) via [NestJS](https://nestjs.com/)

# Getting started

## Installation

### Clone the repository

```
git clone [email protected]:PoOwAa/Conduit-api-nest.git
```

### Switch to the repo folder

```
cd conduit
```

### Install dependencies

```
npm install
```

### Copy the config file and set JWT secret key

```
cp .env.example .env
```

## Database

The application uses Sequelize with a mySQL database.

Create a new mysql database with the name `conduit`

Set mysql database settings in .env

```.env
DATABASE_HOST=localhost
DATABASE_PORT=3306
DATABASE_USER=your-mysql-username
DATABASE_PASS=your-mysql-password
DATABASE_NAME=conduit
```