https://github.com/vaguue/express-examples
Example Express.js applications that can be used as a starter pack for something
https://github.com/vaguue/express-examples
example expressjs grpc prisma redis redis-om
Last synced: 2 months ago
JSON representation
Example Express.js applications that can be used as a starter pack for something
- Host: GitHub
- URL: https://github.com/vaguue/express-examples
- Owner: vaguue
- Created: 2022-12-30T12:51:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-30T16:16:04.000Z (over 2 years ago)
- Last Synced: 2025-01-09T22:19:38.440Z (4 months ago)
- Topics: example, expressjs, grpc, prisma, redis, redis-om
- Language: JavaScript
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# express-examples
Examples list:
* [express-prisma-grpc-redis-example](https://github.com/vaguue/express-examples/tree/main/express-prisma-grpc-redis-example) — This example demonstrates how Express.js can be used in conjunction with gRPC. For example, Express.js + Redis-OM can handle authorization, and gRPC can provide some private API. For security (private API is accessible only from Express.js server) I used SSL certificated feature and access token defined .env.
* [express-prisma-redis-example](https://github.com/vaguue/express-examples/tree/main/express-prisma-redis-example) — This example uses multer for storing and serving user files and Redis for implementing Access Token + Refresh Token authentication mechanism. All routes except /signin and /signup and accessible only for authenticated users.NOTE: on each server Cors is configured to accept requests from any origin and there is the initdb.sh script for database initialization (TODO: user docker-compose.yml). And there is an exampleUsage.js file in test folder.