Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/poowaa/conduit-api-nest
- Owner: PoOwAa
- License: mit
- Created: 2020-04-07T20:43:22.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:59:11.000Z (almost 2 years ago)
- Last Synced: 2023-03-01T07:05:52.087Z (almost 2 years ago)
- Language: TypeScript
- Size: 2.72 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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
```