87 Commits

Author SHA1 Message Date
danis
daa82f16e3 Merge branch 'main' into feature/adc/artist-view 2023-09-05 09:45:28 +02:00
danis
f96aedef8c fix liked songs partial implementation linked error 2023-09-05 09:44:36 +02:00
danis
01394056a6 Merge branch 'feature/adc/artist-view' into feature/adc/#224-genre-view 2023-09-04 14:24:21 +02:00
danis
1396fcb39c artist name fix 2023-09-04 11:05:33 +02:00
danis
1255343b97 artist view + moved components 2023-08-12 11:16:22 +02:00
danis
f7562c18bd basic genre details view 2023-08-12 10:43:02 +02:00
Arthur Jamet
a3676fabf8 Front: Update User Avatar (#250)
* Front: Update User Avatar

* Front: Fix expo-image-picker version
2023-08-07 10:28:55 +02:00
Arthur Jamet
9f542fc9dd Front: User Avatar 2023-07-26 21:00:41 +09:00
930191569f Fix upload file issue 2023-07-26 21:00:41 +09:00
74cd9c0df2 Remove a usless validator 2023-07-26 21:00:41 +09:00
d2642b4fb8 Fixing gravatar 2023-07-26 21:00:41 +09:00
ebcc48cc57 Upgrade back packages 2023-07-26 21:00:41 +09:00
95b08935cc Add file upload 2023-07-26 21:00:41 +09:00
04487c9b24 Add get profile route that supports gravatar 2023-07-26 21:00:41 +09:00
Arthur Jamet
20eb62d19b Front: Graphes de Score (#248) 2023-07-26 12:00:06 +01:00
Zoe Roux
567d3250e2 Merge pull request #234 from Chroma-Case/feat/google 2023-07-24 19:40:15 +09:00
4207d5ee50 Try to fix the CI 2023-07-24 19:33:25 +09:00
GitBluub
509cc5b9f8 rename musics 2023-07-24 14:51:19 +09:00
GitBluub
1b22dba9cd rename musics 2023-07-24 14:44:55 +09:00
Arthur Jamet
c0d9ee7ca6 Front: Merge 2023-07-16 18:11:34 +01:00
danis
bf09a25eb5 linear gradient 2023-07-11 10:06:55 +02:00
danis
373128ba53 broke my glasses 2023-07-10 23:12:37 +02:00
danis
3a09d10d3b you miss 100% of the shots you dont take 2023-07-09 23:24:31 +02:00
Arthur Jamet
87de52cae0 Front: 'Get Song By Artist' Query: fix typings 2023-07-05 14:18:31 +01:00
Arthur Jamet
931fe13eee Merge branch 'main' of github.com:Chroma-Case/Chromacase into feature/adc/artist-view 2023-07-05 14:06:27 +01:00
Arthur Jamet
10d1342294 Front: Api models validation (#245)
* Front: Model: Write Validators

* Front: Plage response validator

* Front: API: Typing 'fetch' return

* Front: Basic Models: Response Handlers

* Front: API: Validate authentication response

* Front: Validate Search History

* Front: Validate Responses of User updates

* Front: On Validation Error, more verbose console error
2023-07-05 09:22:55 +01:00
danis
28716eeab2 init genreDetailsView 2023-07-05 09:26:45 +02:00
Arthur Jamet
350a4870cd Front: WebSocket Connection: Fix (#244) 2023-07-03 06:46:16 +01:00
Arthur Jamet
27f7945289 Front: Use React-Native feature to handle Google Redirections 2023-06-29 15:02:06 +01:00
danis
606af3901c Merge branch 'main' into feature/adc/artist-view 2023-06-28 09:22:25 +02:00
danis
b2247e79ae having a bug with api :/ 2023-06-28 09:11:49 +02:00
Arthur Jamet
3d76834f45 Front: Add Missing Translation + Prettier 2023-06-26 15:00:35 +01:00
ccc86895e2 Add an indicator of the google account on the front 2023-06-26 22:41:07 +09:00
279d16d59a Add google things on the front 2023-06-26 22:38:59 +09:00
04d288b844 Add google signin/signup 2023-06-26 22:38:59 +09:00
Arthur Jamet
857158c6cf Front: Standardise queries (#233) 2023-06-23 15:16:22 +01:00
Clément Le Bihan
80b06f15fe Update front/i18n/Translations.ts 2023-06-22 18:30:52 +02:00
Arthur Jamet
62877f9bd2 Front: Typecheck 2023-06-22 18:30:52 +02:00
Arthur Jamet
3e84605c59 Front: If resource is not found, redirect to Error View 2023-06-22 18:30:52 +02:00
Arthur Jamet
45595408fe Front: Settings URL: Tweak to avoid code repitition 2023-06-22 18:30:52 +02:00
Arthur Jamet
f362531d42 Front: Reanme Settings' subroutes for URLs 2023-06-22 18:30:52 +02:00
Arthur Jamet
3dea5a0865 Front: Prettier 2023-06-22 18:30:52 +02:00
Arthur Jamet
0416e1ba41 Front: Loading View: Use Theme to set background color 2023-06-22 18:30:52 +02:00
Arthur Jamet
f77fa33396 Front: Authentication View: Refactor to be usable with URL navigation 2023-06-22 18:30:52 +02:00
Arthur Jamet
b736dbc1f0 Front: Navigation: Prevent Auth Loading from breaking access by URL 2023-06-22 18:30:52 +02:00
Arthur Jamet
b53aff5bb2 Front: On navigate, set URL 2023-06-22 18:30:52 +02:00
danis
a6ae770194 Merge branch 'main' into feature/adc/artist-view 2023-06-21 09:19:04 +02:00
danis
e378465126 components RowCustom & SongRow + artist banner 2023-06-21 08:21:34 +02:00
9b51bfda0b Add not found error handling for delete 2023-06-20 19:34:59 +09:00
2838beae12 Remove the unsafe user api 2023-06-20 19:34:59 +09:00
93ae411ebe Use the new filter pipe for every resources 2023-06-20 19:34:59 +09:00
1a5ab5d099 Remove auto-generated spec files 2023-06-20 19:34:59 +09:00
477bff5bff Create a filter pipe 2023-06-20 19:34:59 +09:00
9f55a1498b wip 2023-06-20 19:34:59 +09:00
Arthur Jamet
c5d465df97 Front: Pretty and Lint (#225) 2023-06-17 07:01:23 +01:00
Arthur Jamet
399c7d0d9e Merge pull request #220 from Chroma-Case/front/ci-typecheck
Front: typecheck and CI
2023-06-11 12:53:56 +01:00
Arthur Jamet
794a7578a8 A README for GitHub (#221)
* README: Logo and pitch

* README: Better Title Image
2023-06-11 12:53:10 +01:00
Arthur Jamet
87dab44ad0 Front: Settings Navigator: Allow passing screen name as props 2023-06-09 11:51:17 +01:00
Arthur Jamet
242e67edaa Front: Play View: Typecheck Audio Context 2023-06-09 09:43:53 +01:00
Arthur Jamet
d84b789458 Front: TabRow Navigator: Hide header on small viewports using global navigator for ts 2023-06-09 09:34:59 +01:00
Arthur Jamet
4cf5c39da8 Front: Typecheck TabRow Navigator 2023-06-09 09:31:05 +01:00
Arthur Jamet
fa74016257 Front: Allow Use of DOM for Play view 2023-06-08 19:20:36 +01:00
Arthur Jamet
d7848692f7 Front: More Typechecks 2023-06-08 12:25:34 +01:00
Arthur Jamet
c4c4361ff9 Front: HomeView: Fix bad argument to song card (#216) 2023-06-08 10:53:32 +01:00
Arthur Jamet
19ded9ca74 Front: Typecheck Navigators and hooks 2023-06-08 10:52:23 +01:00
Arthur Jamet
63d4b10ebb Front: Typecheck Elements 2023-06-08 10:52:22 +01:00
Arthur Jamet
ff0fc7a8ae CI: Before running build, run tsc 2023-06-08 10:52:22 +01:00
GitBluub
f0ea73a2dd fix: scorometer test 2023-06-01 01:13:00 +09:00
GitBluub
3276b02e0f fix: precision calculation with wrong notes 2023-06-01 01:13:00 +09:00
GitBluub
35049eede9 fix: set a note to done on note off 2023-06-01 01:13:00 +09:00
GitBluub
a319447ecd fix: scoreview more infos 2023-06-01 01:13:00 +09:00
918c113643 Fix guest user settings 2023-05-30 11:33:43 +02:00
GitBluub
2434d5f5df fix: image via props and remove songIllustration function for cover property 2023-05-30 11:33:43 +02:00
GitBluub
25e3d99e22 rm: useless jpg 2023-05-30 11:33:43 +02:00
GitBluub
f99dfd0fdd fix: updated robot test 2023-05-30 11:33:43 +02:00
GitBluub
c8a95ce8a6 fix: updated scorometer test runner 2023-05-30 11:33:43 +02:00
GitBluub
6dcda01f6f feat: song illustrations code 2023-05-30 11:33:43 +02:00
GitBluub
41d020e7a2 feat: song illustrations 2023-05-30 11:33:43 +02:00
GitBluub
3553954afd feat: artist illustrations 2023-05-30 11:33:43 +02:00
GitBluub
7f51582043 feat: front illustration, sorry for linting 2023-05-30 11:33:43 +02:00
GitBluub
5843da2d02 fix: back crash if file not found 2023-05-30 11:33:43 +02:00
GitBluub
7eb3d54903 feat: genre illustrations 2023-05-30 11:33:43 +02:00
GitBluub
9fb165e4ff fix: scorometer muscis folder and populate fix 2023-05-30 11:33:43 +02:00
GitBluub
5c7648541f feat: artist and genre illustration 2023-05-30 11:33:43 +02:00
GitBluub
8dbb724a0f feat: song illustration 2023-05-30 11:33:43 +02:00
GitBluub
7b5629f4a4 fix: scorometer musics folder 2023-05-30 11:33:43 +02:00
GitBluub
17955a0525 feat: assets volume instead of musics only 2023-05-30 11:33:43 +02:00
263 changed files with 11300 additions and 9847 deletions

View File

@@ -7,4 +7,6 @@ JWT_SECRET=wow
POSTGRES_DB=chromacase
API_URL=http://localhost:80/api
SCORO_URL=ws://localhost:6543
GOOGLE_CLIENT_ID=toto
GOOGLE_SECRET=tata
GOOGLE_CALLBACK_URL=http://localhost:19006/logged/google

View File

@@ -43,6 +43,13 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Type Check
run: yarn tsc
- name: Check Prettier
run: yarn pretty:check .
- name: Run Linter
run: yarn lint
- name: 🏗 Setup Expo
uses: expo/expo-github-action@v7
with:
@@ -52,7 +59,7 @@ jobs:
- name: Build Android APK
run: |
eas build -p android --profile debug --local --non-interactive
eas build -p android --profile production --local --non-interactive
mv *.apk chromacase.apk
- name: Upload Artifact
@@ -77,16 +84,7 @@ jobs:
fetch-depth: 0
- name: Copy env file to github secret env file
run: |
touch .env
echo "POSTGRES_USER=user" >> .env
echo "POSTGRES_PASSWORD=eip" >> .env
echo "POSTGRES_NAME=chromacase" >> .env
echo "POSTGRES_HOST=db" >> .env
echo "DATABASE_URL=postgresql://user:eip@db:5432/chromacase" >> .env
echo "JWT_SECRET=wow" >> .env
echo "POSTGRES_DB=chromacase" >> .env
echo "API_URL=http://localhost:80/api" >> .env
run: cp .env.example .env
- name: Start the service
run: docker-compose up -d back db
@@ -94,6 +92,7 @@ jobs:
- name: Perform healthchecks
run: |
docker-compose ps -a
docker-compose logs
wget --retry-connrefused http://localhost:3000 # /healthcheck
- name: Run scorometer tests

9
README.md Normal file
View File

@@ -0,0 +1,9 @@
# ![Chromacase](./assets/graphical/title.png)
La principale raison pour laquelle on arrête de jouer d'un instrument est la perte de motivation. C'est un apprentissage long et vraiment demandant. ChromaCase propose d'accompagner les joueurs de piano grâce à une application mobile avec une expérience personnalisée. Celle-ci, générée par une IA, cible les goûts et identifie les difficultés du joueur.
Ça vous interesse? Rendez-vous sur notre [site](https://chromacase.studio/) pour prendre contact
## Structure du Projet
![Schéma Fonctionnel](./assets/docs/structure.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
assets/docs/structure.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
assets/graphical/title.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 KiB

BIN
assets/graphical/title.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

Some files were not shown because too many files have changed in this diff Show More