- Notifications
You must be signed in to change notification settings - Fork2
obrm/rest-api-nodejs-ts-express-mongodb-zod
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- REST API principals
- CRUD
- HTTP methods
- JWT & refresh tokens
- Request validation
- Node.js
- MongoDB with Mongoose
- TypeScript
- Express.js & Express.js middleware
- Zod validation
- logger
- Validate request middleware
- Registration
- User model
- User endpoint
- User session
- Deserialize user middleware (refresh tokens)
- Get sessions
- Delete session
- Require user middleware
- Product resource
- Product model
- Create product
- Read product
- Update product
- Delete product
Note: Make sure you add .env to your .gitignore before pushing any changes to your repository. You will also want to generate new ACCESS_TOKEN_PUBLIC_KEY & ACCESS_TOKEN_PRIVATE_KEY keys and add them to your .env
Generate new keys:https://travistidwell.com/jsencrypt/demo/
About
a REST API with Node.js, MongoDB with Mongoose, Express, Zod & TypeScript
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.