Skip to content
New issue

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

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

Already on GitHub? # to your account

Use In-Memory PostgreSQL Instance for Testing #735

Open
DanielJDufour opened this issue May 24, 2022 · 1 comment
Open

Use In-Memory PostgreSQL Instance for Testing #735

DanielJDufour opened this issue May 24, 2022 · 1 comment

Comments

@DanielJDufour
Copy link
Contributor

In theory, it might be possible to remove the requirement to run Docker and PostgreSQL for tests, if you use an in-memory PostgreSQL instance pg-mem. The pros would be that it would be easier for developers to get things running and less memory overhead. The cons would be that I don't think it currently supports PostGIS (are we using PostGIS functionality?) and it's not exactly the same as running PostgreSQL/PostGIS.

@DanielJDufour
Copy link
Contributor Author

DanielJDufour commented May 24, 2022

update: pg-mem also supports typeorm which is what aqualink api uses: https://github.com/oguimbal/pg-mem/wiki/Libraries-adapters#-typeorm

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant