SamagraX-Stencil / stencil

NestJS on steroids 💪
https://stencil.samagra.io
MIT License
30 stars 33 forks source link

[stencil] configure `serve-static` for serving static files #5

Open techsavvyash opened 1 year ago

techsavvyash commented 1 year ago

Description

Goal is to setup a serve-static controller/API inside the stencil app that acts as a reverse proxy for the min.io CDN without needing to expose the CDN externally.

This can be implemented in the form of a decorator for routing requests to min.io.

Have an auto-generated pre built controller which can be added via a simple cli command for handling things with minio (add more supported services later).

Complexity: Medium

Product Name

Stencil, Stencil-cli, Stencil-schematics

Organisation Name

SamagraX

Domain

Backend, API

Tech Skills Needed

TypeScript, API, Nest.js

shivankurchavan commented 5 months ago

@techsavvyash hey, the endpoints to connect minio/localhost are not exposed externally. The functions are getting invoked internally solely based on .env variables. Thus i think the requirements of the issues are met already. Its good to close.