Commit Graph

32 Commits

Author SHA1 Message Date
c42fbebe09 Add sqlite template insertion for users.sql 2021-06-28 15:54:52 +00:00
59d26277db Add offline feature to sqlx 2021-06-28 14:35:18 +00:00
a82ca7d052 Add macros feature to sqlx 2021-06-28 14:03:55 +00:00
d6aee960fa Wrap sqlite connection in an Arc and tokios RwLock 2021-06-28 13:50:28 +00:00
898e10f040 Add sync feautre to tokio 2021-06-28 13:45:36 +00:00
34778ae928 create emty method for Elias 2021-06-28 13:43:26 +00:00
96c6d14c46 Add sqlite connection call
And make main() async
2021-06-28 13:27:53 +00:00
55c549d2cf Add tokio dependency 2021-06-28 13:24:49 +00:00
caf9bd299a Edit for readability 2021-06-20 17:39:47 +00:00
e68fc11e43 Fix a type typo in SQL
whoops
2021-06-20 17:29:51 +00:00
99918f1bb9 Add method for preparing sqlite connection
This is not being used yet

Co-authored-by: Erik Foris
2021-06-15 14:49:21 +00:00
e62f3ee2dc Add config reading 2021-06-15 14:45:38 +00:00
ac4ab4c132 Add some new features to sqlx
Co-authored-by: Elias Schriefer
2021-06-14 14:48:18 +00:00
ce83c99420 Change data types according to sqlx
Co-authored-by: Elias Schriefer
2021-06-14 14:33:57 +00:00
36cc3d4de6 Move template files to src folder 2021-06-14 14:04:14 +00:00
b04b61adbd Add config deserialization
Co-authored-by: Elias Schriefer
2021-06-08 13:57:04 +00:00
9b4246a078 Add structopt
Co-authored-by: Elias Schriefer
2021-06-08 13:18:56 +00:00
a06f8319ca Add description to Cargo.toml
Co-authored-by: Elias Schriefer
2021-06-08 13:17:11 +00:00
5e7e456732 Modify database layout 2021-06-08 11:22:57 +00:00
663fbd12fd create database layout 2021-06-07 17:16:47 +00:00
850e736b3c Fix some inconsistencies in graphql schema 2021-06-07 15:59:03 +00:00
f6c78b957b Add feature sqlite 2021-06-07 15:56:48 +00:00
f5eea11fad Add new dependencies and tidy up Cargo.toml
Co-authored-by: Erik Foris
2021-06-07 14:38:15 +00:00
80668964c1 Remove unnecessary scalar definitions
`DateTimeUtc` and `Url` are provided by juniper and chrono/url with
  their respective (default) features.
  No need to define them manually. (I've skimmed the docs and code)
2021-06-04 14:40:19 +02:00
c15c9a7b09 Add juniper-from-schema to dependencies
Co-authored-by: Elias Schriefer
2021-05-10 13:31:46 +00:00
82f94cfeb9 Add external servers preference to graphql
Co-authored-by: Elias Schriefer
2021-05-10 13:18:30 +00:00
34bb49f18a Add security preferences to graphql
Co-authored-by: Elias Schriefer
2021-05-10 13:05:16 +00:00
0d4458d7dd Start writing GraphQL schema
Co-authored-by: Elias Schriefer
2021-05-10 12:54:17 +00:00
dfbd34a264 Add GraphQL dependencies
Co-authored-by: Elias Schriefer
2021-04-19 20:16:08 +00:00
a9c9ff74ec Merge pull request 'Updated the .gitignore (Include VS Code stuff)' (#1) from bettergitignore into main
Reviewed-on: #1
2021-04-06 21:46:49 +00:00
807a1ea5e7 Updated the .gitignore (Include VS Code stuff) 2021-04-06 19:43:33 +00:00
a3e8a2ca14 Initial commit 2021-04-06 19:42:24 +02:00