Node.js + PostgreSQL tutorial
As said, there is no need for coding yet, we have created a Github repository ↗, a recipe, containing a PostgreSQL service with a simple Node.js application. The repo will be used as a source from which the app will be built.
Tip
Follow the steps below and when everything is working as expected, fork the repo, try making various changes or be bold and connect your own.
Note
In the detail of each step, you can find a link with more information about the topic.
- Log in/sign up to Zerops GUI ↗
2. Create a project.
- In the left menu, click on Import services, copy & paste the
contents of the
import-services.yml
config file from the recipe
repository of your choice. Then click on Import service.
import-services.yml
config file from the recipe
repository of your choice. Then click on Import service.4. Several pipelines are created, one for project creation and the rest for the activation of the services. Wait for all to finish.
- In the service detail, open the Public access & internal ports
section, and Enable Zerops Subdomain.
6. Once the pipeline has finished, click on the activated subdomain URL. You should see a simple page with
Entry added successfully with random data: f47ac10b-58cc-0372-8567-0e02b2c3d479. Total count: 1
- One of the services is
adminer
, a database management tool.
See how to
access it.
adminer
, a database management tool.
See how to
access it.- Feel free to make any changes to your project, fork the repo or connect your own. Also see other Node.js and PostgreSQL recipes on our Github page.
Â
Tip
Have you got any additional question? Join our Discord community to get help from our team and other members.