Skip to content
adameus03 edited this page Jan 17, 2024 · 8 revisions

Spc-cloud wiki

Sequelize

It offers an ORM (Object-Relation Mapping) between objects and relations. It acts like a middleman between the objects in the application's programming and the entities of the relational database. It unifies the way databases are accessed from the node.js scripts, independently of the actual database system connected to the R-side of ORM.

The Sequelize object is initialized in the project in the https://github.com/adameus03/spc-cloud/blob/master/src/database.js file.

How to quickly bring the locally hosted application into the public network?

You can use reverse SSH tunneling and serveo.net to achieve that:

$ ssh -R 4321:<local_ip>:<local_port> serveo.net

The connection will automatically shut down after some time.

Useful links

https://semaphoreci.com/community/tutorials/dockerizing-a-node-js-web-application

https://docs.docker.com/cloud/aci-integration/

https://docs.docker.com/compose/compose-file/02-model

https://learn.microsoft.com/en-us/azure/container-instances/container-instances-volume-azure-files

https://learn.microsoft.com/en-us/azure/container-instances/tutorial-docker-compose

https://jmaitrehenry.ca/azure-file-storage-as-a-docker-plugin/

https://docs.docker.com/compose/environment-variables/set-environment-variables/