Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ dist/
.env
*.log

# Nx
.nx
tmp
.cache

# Vite build
.vite/

Expand All @@ -28,4 +33,7 @@ yarn.lock
.terraform/
*.tfstate
*.tfstate.backup
.terraform.lock.hcl
.terraform.lock.hcl
.nx/installation
.nx/cache
.nx/workspace-data
12 changes: 12 additions & 0 deletions api/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "api",
"targets": {
"dev": {
"executor": "nx:run-commands",
"options": {
"command": "npm run dev",
"cwd": "api"
}
}
}
}
5 changes: 5 additions & 0 deletions nx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
command -v node >/dev/null 2>&1 || { echo >&2 "Nx requires NodeJS to be available. To install NodeJS and NPM, see: https://nodejs.org/en/download/ ."; exit 1; }
command -v npm >/dev/null 2>&1 || { echo >&2 "Nx requires npm to be available. To install NodeJS and NPM, see: https://nodejs.org/en/download/ ."; exit 1; }
path_to_root=$(dirname $BASH_SOURCE)
node $path_to_root/.nx/nxw.js $@
10 changes: 10 additions & 0 deletions nx.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@ECHO OFF
SETLOCAL
SET path_to_root=%~dp0
WHERE node >nul 2>nul
IF %ERRORLEVEL% NEQ 0 (ECHO Nx requires NodeJS to be available. To install NodeJS and NPM, see: https://nodejs.org/en/download/ . & GOTO exit)
WHERE npm >nul 2>nul
IF %ERRORLEVEL% NEQ 0 (ECHO Nx requires npm to be available. To install NodeJS and NPM, see: https://nodejs.org/en/download/ . & GOTO exit)
node %path_to_root%\.nx\nxw.js %*
:exit
cmd /c exit /b %ERRORLEVEL%
16 changes: 16 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// tools/dev-runner/project.json
{
"name": "dev-runner",
"targets": {
"start": {
"executor": "nx:run-commands",
"options": {
"commands": [
{ "command": "nx run api:dev" },
{ "command": "nx run react-native-client:start" }
],
"parallel": true
}
}
}
}
12 changes: 12 additions & 0 deletions react-native-client/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "react-native-client",
"targets": {
"start": {
"executor": "nx:run-commands",
"options": {
"command": "npx expo start",
"cwd": "react-native-client"
}
}
}
}
16 changes: 16 additions & 0 deletions tools/dev-runner/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// tools/dev-runner/project.json
{
"name": "dev-runner",
"targets": {
"start": {
"executor": "nx:run-commands",
"options": {
"commands": [
{ "command": "nx run api:dev" },
{ "command": "nx run react-native-client:start" }
],
"parallel": true
}
}
}
}
24 changes: 0 additions & 24 deletions vite-client/.gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions vite-client/README.md

This file was deleted.

38 changes: 0 additions & 38 deletions vite-client/eslint.config.js

This file was deleted.

13 changes: 0 additions & 13 deletions vite-client/index.html

This file was deleted.

38 changes: 0 additions & 38 deletions vite-client/package.json

This file was deleted.

1 change: 0 additions & 1 deletion vite-client/public/vite.svg

This file was deleted.

38 changes: 0 additions & 38 deletions vite-client/src/App.css

This file was deleted.

21 changes: 0 additions & 21 deletions vite-client/src/App.jsx

This file was deleted.

38 changes: 0 additions & 38 deletions vite-client/src/components/LoadingBars.jsx

This file was deleted.

24 changes: 0 additions & 24 deletions vite-client/src/components/SpeechToText.jsx

This file was deleted.

Loading