Skip to content

a small project to stay updated on Nodesjs ESM + Graphql +Postgres + docker

Notifications You must be signed in to change notification settings

Gerald1614/graphql_postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adaptation of a tutorial for graphql+NodejS + express with connection to postgres: https://www.robinwieruch.de/graphql-apollo-server-tutorial/ I changed completly the access to postgres to remove dependency on Sequelize, and i also used ESM modules that are supported with Node v12.

I deployed both the app and postgres on Docker containers

deploy and run in docker
docker-compose -f docker-compose.yml up --build

to reset postgres
docker-compose rm postgres

a branch called 'all typescript' is a typescript verison of the application with some tests added. to test the API without mocking, I built a 4th container that run the test againt the application.

About

a small project to stay updated on Nodesjs ESM + Graphql +Postgres + docker

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published