28 Commits

Author SHA1 Message Date
96a6b6a351
fix(docker): optimize image
- updated `h2` dependency to address security alert
2024-05-10 22:03:23 -04:00
daf914bb8e
feat(api): containerization
- Build SQLx queries beforehand so that we don't have to do PostgreSQL
init right away at service start up
- Created `Dockerfile.production`
- Updated docs
- Seperate configuration files for local and development environments
2024-05-10 19:38:07 -04:00
7b5fa61780
feat(api): use tracing-actix logger middleware
- Completely move away from using traditional logs
2024-05-08 23:50:03 -04:00
444e42351e
feat(api): wrap database password with Secret 2024-05-08 17:53:41 -04:00
3a0576ba48
feat(log): database operations and API logs split 2024-05-08 17:27:05 -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
70a4eb23c6
feat(telemtry): Moved from logs to tracing
- Updated docs
2024-05-07 16:10:09 -04:00
ccf49ee214
feat(log): rudimentary logging
- Changed route `subscribe` into `subscriptions`
2024-05-06 00:49:17 -04:00
2c9dab01bb
feat: setup tmuxinator.yaml 2024-05-05 16:47:36 -04:00
da977cd720
feat(docs): updated testing docs 2024-05-04 15:43:24 -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
1c317e3f34
fix(ci-cd): cache on failure
- use a different toolchain setup
2024-05-04 11:41:22 -04:00
5090157d91
feat(docs): reorganized docs 2024-05-04 11:34:20 -04:00
c8fe98eb64
feat(ci-cd): use caching to speed up build 2024-05-04 10:58:37 -04:00
d2f959433d
fix(ci-cd): update github ci-cd
- making sure we run postgreSQL in docker first, remove SKIP_DOCKER=true
2024-05-04 10:34:53 -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
38f9646526
feat: use configuration.yaml to setup variables 2024-05-03 16:14:36 -04:00
f08def8e77
fix: restructure the logic 2024-05-03 15:43:34 -04:00
53f20f16f4
chore: added sqlx_cli dependency
- Formatted init_db.sh script
2024-05-02 18:38:51 -04:00
3c09eccfef
feat(devops): database init and 1st migration 2024-04-24 15:08:57 -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
4b4286ae43
feat(dev): added tmuxinator.yml 2024-04-06 15:14:29 -04:00
eb2a4be5e5
feat(docs): Added docs 2024-03-29 23:45:33 -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
229ede166c
initial commit 2024-03-23 19:04:25 -04:00