Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
| Date | Stars |
|---|---|
| 2026-07-24 | 609 |
| 2026-07-25 | 609 |
| 2026-07-28 | 609 |
| 2026-07-30 | 609 |
| 2026-08-06 | 609 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Build a REST API with Node.js, Mongoose & TypeScript
Note: This repository includes the [postman collection for the finished API](postman_collection.json)
Note 2: Make sure you add .env to your .gitignore before pushing any changes to your repository. You will also want to generate new public & private keys
#### Generate new keys: https://travistidwell.com/jsencrypt/demo/
#### Base64 encode the keys: https://www.base64encode.org/
## Common issues
* I'm getting a JWT malformed error: https://youtu.be/FzKrfwplips
* Managing environment variables: https://youtu.be/gfyQzeBlLTI
## Who is this tutorial for?
* Junior to mid-level developers
* Anyone interested in building REST APIs with TypeScript
## What you will need
* A running instance of MongoDB
* Postman
* An IDE or text editor (VS Code)
* A web browser
* A package manager such as NPM or Yarn
* Node.js installed
## What next?
* Testing the API with Jest
* Build a React.js user interface
* Add Prometheus metrics to the API
* Deploy the API with Caddy & Docker
* Add Google OAuth
## Concepts
* REST API principals
* CRUD
* HTTP methods
* JWT & refresh tokens
* Request validation
## Technologies
* Node.js
* MongoDB with Mongoose
* TypeScript
* Express.js & Express.js middleware
* Zod validation
## Video structure
1. What are we going to build (Postman demo)
2. Code walk-through
3. Bootstrap application
1. Setup express JS
2. Create routes function
3. Setup database connection
4. Setup logger
5. Validate request middleware
4. Registration
1. Create user model
2. Create user endpoint
3. Create user session
4. Deserialize user middleware (refresh tokens)
5. Get sessions
6. Delete session
7. Require user middleware
5. Product resource
1. Create product model
2. Create product
3. Read product
4. Update product
5. Delete product
## Data flow

## Access & refresh token flow

# Deployment
## What will we use
* Docker (image)
* docker-compose (container)
* Caddy - Web server
* DigitalOcean
Note: You will need Docker installed locally if you want to test your Docker configutation
## Let's keep in touch
- [Subscribe on YouTube](https://www.youtube.com/TomDoesTech)
- [Discord](https://discord.gg/4ae2Esm6P7)
- [Twitter](https://twitter.com/tomdoes_tech)
- [TikTok](https://www.tiktok.com/@tomdoestech)
- [Facebook](https://www.facebook.com/tomdoestech)
- [Instagram](https://www.instagram.com/tomdoestech)
[Buy me a Coffee](https://www.buymeacoffee.com/tomn)
[Sign up to DigitalOcean 💖](https://m.do.co/c/1b74cb8c56f4)
Excerpt of 2,641 characters
Read on GitHub26
2
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:9cdda14467ae7b6e, topic:tutorial, name:tutorial, readme:tutorial