-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update web README * Add dev, fix start * Add custom tailwind configurations * Add dark mode with ThemeToggler * Init db module * Add axum server initialization * Add new users module for inserting users into db * Add registration route for creating a new user * Add new registration page * Update Cargo.lock * Add API_URL env var * Add build-api workflow * Fix to use Swatinem rust-cache and justfile * Upgrade node cache action to v4 * Add build badges to README * Add build-api command * Fix build command to call build-api
- Loading branch information
1 parent
053201d
commit ca10c87
Showing
30 changed files
with
3,035 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DATABASE_URL= | ||
API_URL=http://localhost:3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: build api | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- "packages/api/**" | ||
- "Cargo.toml" | ||
- "Cargo.lock" | ||
pull_request: | ||
branches: [main] | ||
paths: | ||
- "packages/api/**" | ||
- "Cargo.toml" | ||
- "Cargo.lock" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: rustup toolchain install stable --profile minimal | ||
- uses: extractions/setup-just@v2 | ||
- name: build | ||
run: just build-api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.