https://github.com/devmunyi/auth-api
Authentication REST API
https://github.com/devmunyi/auth-api
nodejs rest-api typegoose typescript zod
Last synced: about 1 month ago
JSON representation
Authentication REST API
- Host: GitHub
- URL: https://github.com/devmunyi/auth-api
- Owner: devMunyi
- Created: 2023-11-19T11:49:37.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2023-11-30T11:30:03.000Z (over 2 years ago)
- Last Synced: 2025-03-04T01:41:26.279Z (about 1 year ago)
- Topics: nodejs, rest-api, typegoose, typescript, zod
- Language: TypeScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Authentication REST API with Node.js, TypeScript, Typegoose & Zod
## Features
1. Register a user
2. Verify user's email address
3. Send forgot password email
4. Reset password
5. Get current user
6. Login
7. Access token
8. Refresh tokens
## Technology used
- [TypeScript](https://www.typescriptlang.org/) - Static type checking
- [Express@5](https://expressjs.com/en/5x/api.html) - Web server
- [Typegoose](https://typegoose.github.io/typegoose/) - Mongoose wrapper for creating TypeScript interfaces and models
- [argon2](https://github.com/ranisalt/node-argon2#readme) - Password hashing
- [Zod](https://github.com/colinhacks/zod) - Validation
- [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) - Signing and verifying JSON web tokens
- [Nodemailer](https://nodemailer.com/about/) - Sending emails
- [Pino](https://github.com/pinojs/pino) - Logging
- [config](https://github.com/lorenwest/node-config) - Managing configuration
## Prerequesites
- [Postman](https://www.postman.com/downloads/)
- [Node.js](https://nodejs.org/en/)
- [MongoDB](https://www.mongodb.com/try/download/community)