Houkime
273a1935a8
feature(dev_qol): mypy type checking and rope refactoring support
2023-06-23 12:17:48 +00:00
Houkime
b86d0cd850
fix(redis): Do not shut down redis on ctrl c
...
see https://github.com/NixOS/nix/issues/2141
2023-06-23 14:35:40 +03:00
inexcode
13a2d8faca
chore: Update dev nix shell
2023-05-09 11:54:47 +03:00
Houkime
4c6518a513
fix(redis): Do not shut down redis on ctrl c
...
see https://github.com/NixOS/nix/issues/2141
2023-04-12 13:20:41 +00:00
Houkime
144f95fb34
bind nix-shell's redis to localhost
...
For security, mainly. Also, limit to one process.
A follow up to #22
2022-11-30 11:20:08 +00:00
Houkime
2e9cdf15ab
Autostart a redis instance in nix shell.
...
As a part of test environment, an unprivileged redis server is started on localhost:6379.
Redis connection pool detects when it is run in a development nix shell
and uses this port instead of a production unix socket. This way, redis
tests pass even on computers without redis installed.
2022-11-28 14:38:21 +02:00
inexcode
19a4ec5377
feat: Add redis pool singleton
2022-10-28 11:24:45 +03:00
Inex Code
7935de0fe1
Migrate to FastAPI ( #13 )
...
Co-authored-by: inexcode <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/13
2022-08-25 20:03:56 +03:00
Inex Code
5be240d357
Update Strawberry and backport graphql-core to Nixos 21.11
2022-08-01 13:28:12 +03:00
inexcode
5532114668
Add volume management
2022-07-25 17:08:31 +03:00
Inex Code
c6a3588e33
add CORS
2022-06-24 20:25:49 +03:00
inexcode
75e3143c82
strawberry init
2022-06-24 15:26:51 +03:00
Inex Code
6fbfee5b1b
App pylint to shell.nix
2022-01-27 14:13:00 +02:00
Inex Code
08c7f62e93
Add nix shell
2022-01-24 21:56:48 +02:00