Storage Api

2 years ago

Description: A simple file server using Express and Multer. Also includes an API.

Category: Storage

URL: https://railway.app/template/iiWiUr

16 Replies

2 years ago

Wauw looks good!


yhonchisdev
HOBBY

a year ago

Hello good morning, this great what you created, you could add the protection of requests with the token that is generated, currently you have the requests open to all and cuaquier person can make records.

I look forward to your reply, thank you.


a year ago

Hello good morning, this great what you created, you could add the protection of requests with the token that is generated, currently you have the requests open to all and cuaquier person can make records.

I look forward to your reply, thank you.

I appreciate your suggestion, when I added that key I thought about this feature, but I did not have time. However today I could take some time to implement this feature, and now it's on flight, every request must have a header with a token field that includes the generated key. To avoid break changes, I added an environment variable that allows bypassing the auth process while not upgrading current clients, but this will be temporarily soon it will be mandatory.


a year ago

Thank you for your time and work on this template, looks like the community is finding good uses for it!

I have some feedback that could improve the template's DX -


a year ago

Sorry for the delay brody, I appreciate your templates. About the topics you suggested, I kept them in mind and set up both, and now it's much better to configure the template and make it easier to set up and deploy. Thank you for your time.


yhonchisdev
HOBBY

9 months ago

Hi good morning, I was testing your new changes and I noticed that it is not documented all the functions. it would be great if you add it with swagger so I can access it through a route.


yhonchisdev

Hi good morning, I was testing your new changes and I noticed that it is not documented all the functions. it would be great if you add it with swagger so I can access it through a route.

9 months ago

I have this is mind to be done. I will soon do a refactor in the project and I definetely will add more documentation and swagger endpoint. Keep an eye in it


yhonchisdev
HOBBY

a month ago

Hello, good evening. I installed the template in another project and I get an error: ./pg.sh: line 6: wget: command not found.

Can you help me? I saw that you have a version made with NestJS. Is it ready to use?

Best regards.


yhonchisdev

Hello, good evening. I installed the template in another project and I get an error: ./pg.sh: line 6: wget: command not found.Can you help me? I saw that you have a version made with NestJS. Is it ready to use?Best regards.

13 days ago

Hi buddy. I tried to reproduce the issue, but I am unable to. Can you share some additional information?


yhonchisdev
HOBBY

13 days ago

Hello, I just tried it again and it installed normally. Does it require Postgres now? I wanted to know if the version of NestJS you have is ready yet.


13 days ago

It was probably something related to the operating system. Glad you were able to resolve it, sorry for the delay. No, it was a workaround to be able to use the backup/restore binaries. In the new version, the binaries will be incorporated into the template itself. Actually, I took some time today to check out this new version, and now I need to test it in production. Feel free to try it out, and I'd love to hear your feedback on it.


yhonchisdev
HOBBY

13 days ago

OK, I'll try it now. You can check that the new version is already available in the template. I saw that you changed the main branch.


yhonchisdev
HOBBY

12 days ago

Let me know when you have it ready in the railway templates. Another suggestion is to change wwwroot to media.


11 days ago

The new version is ready. I did not change the volume path name, but I will try to refactor to be flexible in the next version. I've used wwwroot because I am from the .NET environment. You can check this out now. I have made some performance improvements as well. Please let me know if you face any issues. Thanks


yhonchisdev
HOBBY

10 days ago

Hello, I have searched but cannot find the new version in the templates, and when I update, only the main one appears. Could you please check it and let me know how I can access that version?


yhonchisdev
HOBBY

7 days ago

Hello, I have tried the Swagger documentation and the services are not working properly. The service paths should be in lowercase followed by -, you can add image optimisation with Sharp, and it would also be great to refactor to remove useless code and services. Please do not forget to change the wwwroot path to media. I would appreciate it if you could make these changes as soon as possible. Best regards.


Storage Api - Railway Help Station