https://github.com/mutoe/nestjs-realworld-example-app
Use TDD to develop a Realworld project based on Nestjs + TypeORM
https://github.com/mutoe/nestjs-realworld-example-app
Last synced: 12 months ago
JSON representation
Use TDD to develop a Realworld project based on Nestjs + TypeORM
- Host: GitHub
- URL: https://github.com/mutoe/nestjs-realworld-example-app
- Owner: mutoe
- License: mit
- Created: 2019-12-30T03:38:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-28T18:54:36.000Z (about 3 years ago)
- Last Synced: 2025-04-14T20:55:47.823Z (about 1 year ago)
- Language: TypeScript
- Size: 1.15 MB
- Stars: 43
- Watchers: 2
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 
> ### NestJS codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld-example-apps) API spec.
----------
# Getting started
```bash
pnpm install
cp .env.template .env
docker compose up
```
- Open `http://localhost:3000/api/articles` in your favourite browser`
- Open `http://localhost:3000/docs` to view swagger API document
----------
## API Specification
This application adheres to the api specifications set by the [Thinkster](https://github.com/gothinkster) team. This helps mix and match any backend with any other frontend without conflicts.
> [Full API Spec](https://github.com/gothinkster/realworld/tree/master/api)
More information regarding the project can be found here https://github.com/gothinkster/realworld
----------
# Authentication
This applications uses JSON Web Token (JWT) to handle authentication. The token is passed with each request using the `Authorization` header with `Token` scheme. The JWT authentication middleware handles the validation and authentication of the token. Please check the following sources to learn more about JWT.