Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dunghenry/nest_auth
- Owner: dunghenry
- Created: 2022-10-13T14:42:20.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-04T06:26:13.000Z (11 months ago)
- Last Synced: 2024-02-04T07:27:56.208Z (11 months ago)
- Topics: authentication, docker, mongodb, nestjs, server-side-rendering, upload-image
- Language: TypeScript
- Homepage:
- Size: 1.5 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```