https://github.com/cunningdj/node-postgres-microservice-diw
Sample basic Node+PostgreSQL microservice.
https://github.com/cunningdj/node-postgres-microservice-diw
api dabblingin express learning microservice nodejs postgres postgresql
Last synced: 3 months ago
JSON representation
Sample basic Node+PostgreSQL microservice.
- Host: GitHub
- URL: https://github.com/cunningdj/node-postgres-microservice-diw
- Owner: CunningDJ
- Created: 2019-09-21T19:12:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T07:13:52.000Z (over 3 years ago)
- Last Synced: 2025-05-16T00:12:55.315Z (11 months ago)
- Topics: api, dabblingin, express, learning, microservice, nodejs, postgres, postgresql
- Language: JavaScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node-Postgres Microservice
This is a basic setup for a Node + PostgreSQL microservice. It can be used
instructionally, as a Hello World for creating such a service, or as
a boilerplate starting point.
A full explanation of this project can be found at [this Dabbling In Web
article](https://web.dabbling.in/p/microservice-nodejs-postgresql).
You can also find a more summary of each portion (`db/`,
`node-service/`, `mock-seed/` and `test/`) in the READMEs of their respective folders.
The [db/](db/) folder contains the setup scripts and schema for the postgres database, tables and
extensions.
The [node-service/](node-service/) folder contains the code for the node service that plugs
into the data of this database.
The [mock-seed/](mock-seed/) folder contains scripts for seeding mock data into the databases that were established by the scripts and schema in [db/](db/).
And finally, the [test/](test/) folder contains integration test scripts for hitting the running node service endpoints and showing what each return/fail.