Skip to content

Commit

Permalink
feat(backend): initial setup and auth routes (#8)
Browse files Browse the repository at this point in the history
## Description
Adds an axum powered backend with swagger + authentication using PASETO
tokens

## Related Issue
Closes #4, #3, #2 and #1

## Proposed Changes
* Adds a rust backend using:
  * `diesel` for database
  * `axum` for web server
  * `utoipa` for documentation

## Testing Done
Tested in the swagger ui

## Checklist
- [x] I have tested my changes locally and they work as expected.
- [ ] I have documented any new or modified functionality in the project
documentation.
- [x] I have added appropriate comments to the code, especially in
complex or non-obvious sections.
  • Loading branch information
j-chad authored Sep 30, 2023
2 parents ba4ae13 + 7ce097e commit be5d5b7
Show file tree
Hide file tree
Showing 86 changed files with 3,372 additions and 14,479 deletions.
5 changes: 5 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/jsLinters/eslint.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions .idea/runConfigurations/Backend.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .idea/runConfigurations/Backend_Watch.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .idea/runConfigurations/Web__dev_.xml

This file was deleted.

139 changes: 0 additions & 139 deletions .idea/workspace.xml

This file was deleted.

Loading

0 comments on commit be5d5b7

Please sign in to comment.