12 Commits

Author SHA1 Message Date
d96eae1fec
feat(config): App can take environ variables
- Change log level of SQLx to TRACE
2024-05-11 22:30:21 -04:00
444e42351e
feat(api): wrap database password with Secret 2024-05-08 17:53:41 -04:00
9336235b64
feat(test): log for integration tests
- log for test are configurable to either be spit into the void (cargo
test default) or into `stdout`.
2024-05-07 21:36:16 -04:00
ccf49ee214
feat(log): rudimentary logging
- Changed route `subscribe` into `subscriptions`
2024-05-06 00:49:17 -04:00
5e6e9c2efe
feat(test): spin up new logical database tests
- Tests will use new database every run
- Added chrono and uuid dependencies.
- Updated documentation
2024-05-04 15:27:47 -04:00
b4fa90f183
feat(ci-cd): setup Github CI-CD 2024-05-04 09:43:54 -04:00
46ac102adc
feat(test): connecting to PostgreSQL
- rename the database name in the configuration.yaml
2024-05-03 17:10:39 -04:00
f08def8e77
fix: restructure the logic 2024-05-03 15:43:34 -04:00
84fc74a0d1
feat: subscribe API route skeleton
- Added `serde` crate for serialisation or deserialisation of data
- Added test cases for the `subscribe` API route
- Refactor the testing setup to another module `test_utils`
- use random TCP port for testing
2024-04-22 17:00:55 -04:00
83915acbd1
feat(test): use random ports for testing
- port is assigned by the OS.
2024-03-29 16:20:53 -04:00
cd677039b1
feat(test): server setup and teardown for tests
- Application server will now be setup on EVERY test and closed after
that test
2024-03-29 15:36:54 -04:00
8d90f9e8e6
feat(test): health_check route 2024-03-28 11:42:08 -04:00