Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dunghenry/nest_auth


https://github.com/dunghenry/nest_auth

authentication docker mongodb nestjs server-side-rendering upload-image

Last synced: 27 days ago
JSON representation

Awesome Lists containing this project

README

        

# NestJS framework authentication + MongoDB

### install dotenv

```js
npm i dotenv
```

### Add to app.module.ts

```js
require('dotenv').config();
```

### Create controller

```js
nest g controller user
```

### Create service

```js
nest g service user
```

### Create module

```js
nest g module user
```

### Run docker compose

```js
docker-compose up
```

### Run and build docker compose

```js
docker-compose up --build
```