Commit Graph

20 Commits

Author SHA1 Message Date
23b089bf3d feat(api): email-testing and refactored subscription code 2024-08-25 17:43:00 -04:00
fda6c7c044 feat(api): parse username and email
- Updated cargo deps
2024-08-21 10:47:02 -04:00
d96eae1fec feat(config): App can take environ variables
- Change log level of SQLx to TRACE
2024-05-11 22:30:21 -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
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
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
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
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
229ede166c initial commit 2024-03-23 19:04:25 -04:00