Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Test Database #31

Merged
merged 13 commits into from
Mar 12, 2024
Merged

Setup Test Database #31

merged 13 commits into from
Mar 12, 2024

Conversation

nigelnindodev
Copy link
Owner

@nigelnindodev nigelnindodev commented Mar 11, 2024

This PR configures a test database for running automated tests for server-side logic.

Implemented using docker-compose, and uses Bun's built-in script engine to set up and tear down created Postgres docker container.

This PR also fixes cyclic dependency on index.ts and server.ts by introducing an intermediary module.

Closes #29

@nigelnindodev nigelnindodev self-assigned this Mar 11, 2024
@nigelnindodev nigelnindodev force-pushed the feat/setup-test-database branch from a6adbf7 to 351e3b7 Compare March 12, 2024 07:18
@nigelnindodev nigelnindodev marked this pull request as ready for review March 12, 2024 08:05
@nigelnindodev nigelnindodev merged commit 40ee068 into master Mar 12, 2024
2 checks passed
@nigelnindodev nigelnindodev deleted the feat/setup-test-database branch March 12, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup Test Database
1 participant