Vue secrets in production [closed] - node.js

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
How do I secure secrets in the Vue for production environments? https://cli.vuejs.org/guide/mode-and-env.html is not secure as a solution. In production I am using NGINX and Node.js serving inside an ECS Docker container.

Related

How can I host this node.js project on GitHub? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 days ago.
Improve this question
I am making a fork of https://github.com/amethystnetwork-dev/Incognito, and I want to host it on github. can anyone help me with this? Whenever I open the page it just goes to the readme file...

Node.JS - How to hide secrets such as cookie secrets? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I would like to avoid having secrets hard coded into my Node.JS application like this:
app.use(cookieParser('SECRETSECRETSECRET1!!!'));
How can I secrets in Node.JS?
Keep them in your .env file.
Then you can use packages like dotenv to load them into your js code
Update
As mentioned #Wyck, you should add .env to your .gitignore, since you don't want to make your env variables to be visible in your public/private repo

In a software architecture, when do I use Service Fabric vs Azure Functions? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I'm trying to understand the MSFT form of Microservices (Docker) called Service Fabric and am confused about when to use Service Fabric or Function apps
What guidance should I follow when choosing?

easiest way to deploy sailsjs API [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am currently working sailsjs and how can i deploy it on azure?
There was a blog post a couple of months ago which gives the steps needed to deploy to azure:
https://azure.microsoft.com/en-gb/documentation/articles/app-service-web-nodejs-sails/

Hosting nodejs and mongodb [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have my own physical server in a datacenter.
I have experience in hosting IIS for production. And I never done it for nodejs and mongodb.
Would like to ask, is there any standard procedure I should follow when hosting both nodejs and mongodb in my server? Or should I just setup it like how I setup in my local machine?

Resources