Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daguttt/auth-app-nestjs
https://github.com/daguttt/auth-app-nestjs
authentication nestjs oauth2
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/daguttt/auth-app-nestjs
- Owner: daguttt
- Created: 2022-11-30T00:08:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T00:04:08.000Z (almost 2 years ago)
- Last Synced: 2023-03-10T20:53:21.525Z (almost 2 years ago)
- Topics: authentication, nestjs, oauth2
- Language: TypeScript
- Homepage:
- Size: 139 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auth App NestJS
## Description
REST API built with [NestJS](https://docs.nestjs.com/). It provides a boilerplate for custom Node.js authentication using [Passport.js](https://www.passportjs.org/). It has **Google** and **Local** strategies implemented. Main version is based on **server sessions with cookies** using **PostgreSQL** as a [session store](https://github.com/voxpelli/node-connect-pg-simple)
**Note:** This Code base is meant to be used as a **_template_** for other projects.
## Live Example
Curl the live example deployed on [Railway](https://railway.app/)
```bash
curl https://auth-app-nestjs-production.up.railway.app/
```You will get the following if it is _currently online_ and succeeds:
```json
{ "statusCode": 404, "message": "Cannot GET /", "error": "Not Found" }
```### Frontend
I built a [Angular](https://angular.io/) SPA that consumes it. Check out its repository [here](https://github.com/daguttt/auth-app-angular).
#### Preview 👇🏼
## Social
- [Linkedin](https://linkedin.com/in/daguttt)
- [Twitter](https://twitter.com/daguttt)