Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
6a90a25
feat(testing): complete unit test
LauraSchlueter22 Aug 5, 2025
15cef4e
feat(testing): add comment for github test
LauraSchlueter22 Aug 5, 2025
e24f794
Merge pull request #1 from Labubu-Who/feat/testing
yuan-cloud Aug 5, 2025
ba5b9f6
feat(methods) : temp scoreboard functions
yuan-cloud Aug 5, 2025
d0b74c6
Merge pull request #2 from Labubu-Who/connect-db-score-board
yuan-cloud Aug 6, 2025
7912075
feat(testing): fix sign up backend
LauraSchlueter22 Aug 6, 2025
04bbc1d
Merge pull request #3 from Labubu-Who/feat/testing
LauraSchlueter22 Aug 6, 2025
4a58a7c
feat(bug): fix mislabel for useAuth
LauraSchlueter22 Aug 6, 2025
1060872
Merge pull request #4 from Labubu-Who/feat/scoreboard
LauraSchlueter22 Aug 6, 2025
c0472c4
feat(scoreboard): added scoreboard to UI
LauraSchlueter22 Aug 6, 2025
04be9a4
Merge pull request #5 from Labubu-Who/feat/scoreboard2
LauraSchlueter22 Aug 6, 2025
bba1c4a
feat(mobile): added react native and converted all web code to mobile…
Aug 7, 2025
1ed0d28
Merge pull request #6 from Labubu-Who/mobile
LauraSchlueter22 Aug 7, 2025
e104635
Remove broken submodule 'mobile'
Aug 7, 2025
a738f44
feat(mobile): converted web app to mobile app, auth not yet included
Aug 7, 2025
a701f86
Merge pull request #7 from Labubu-Who/mobile
harleydi Aug 7, 2025
2d4c7ae
feat(debug): fix login route
LauraSchlueter22 Aug 7, 2025
a28da0f
Merge pull request #8 from Labubu-Who/feat/debug
LauraSchlueter22 Aug 7, 2025
4dd496c
feat(mobile): added scoreboard to mobile app
Aug 7, 2025
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
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
presets: ['@babel/preset-env', '@babel/preset-react'],
};


8 changes: 8 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ export default defineConfig([
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
},
},
{
files: ['**/*.test.js', '**/*.test.jsx'],
languageOptions: {
globals: {
...globals.jest,
},
},
},
// Override for server files to enable node globally and make sure backend not in a browser environment
{
files: ['server/**/*.js', 'db.js'],
Expand Down
11 changes: 11 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default {
setupFilesAfterEnv: ['./jest.setup.js'],
transform: {
'^.+\\.jsx?$': 'babel-jest',
},
extensionsToTreatAsEsm: ['.jsx'],
testEnvironment: 'jsdom',
moduleNameMapper: {
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
},
};
5 changes: 5 additions & 0 deletions jest.setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-env node */
import { TextEncoder, TextDecoder } from 'util';

global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoder;
8 changes: 8 additions & 0 deletions mobile/.expo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
> Why do I have a folder named ".expo" in my project?
The ".expo" folder is created when an Expo project is started using "expo start" command.
> What do the files contain?
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
- "settings.json": contains the server configuration that is used to serve the application manifest.
> Should I commit the ".expo" folder?
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
3 changes: 3 additions & 0 deletions mobile/.expo/devices.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"devices": []
}
Loading