Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
45879bd
All athletes
qdesgardinvp Nov 14, 2022
cb6eda6
init router
guileveque Nov 14, 2022
e072172
Merge branch 'main' of github.com:Rui-Error404/reactjs
guileveque Nov 14, 2022
98eec74
update
zorgness Nov 14, 2022
c6e3324
update
zorgness Nov 14, 2022
4d084c6
update
zorgness Nov 14, 2022
81f5403
navigation router
guileveque Nov 14, 2022
e1be342
refacto athlete
guileveque Nov 14, 2022
b982599
Merge branch 'main' of github.com:Rui-Error404/reactjs
zorgness Nov 14, 2022
d6d2d9c
json sponsors
Rui-Error404 Nov 14, 2022
6c2f8e3
Merge pull request #1 from Rui-Error404/rui
Rui-Error404 Nov 14, 2022
519bcda
merge
zorgness Nov 14, 2022
0eb2cd0
athlete listing
guileveque Nov 14, 2022
722e42e
Merge branch 'main' into athlete-list
guileveque Nov 14, 2022
03b37a8
Merge pull request #2 from Rui-Error404/athlete-list
guileveque Nov 14, 2022
6112cf7
sponsors index
zorgness Nov 14, 2022
d37c2b8
Merge pull request #3 from Rui-Error404/sponsors_index
zorgness Nov 14, 2022
58a71eb
about page
sachabojanowski Nov 14, 2022
55ea582
about page
sachabojanowski Nov 14, 2022
fe4cb03
Merge pull request #4 from Rui-Error404/about
sachabojanowski Nov 14, 2022
dbf7680
sponsor item
zorgness Nov 14, 2022
d5f0efd
Merge pull request #5 from Rui-Error404/sponsors_show
zorgness Nov 14, 2022
ca1772d
update_on_sponsor_item
zorgness Nov 14, 2022
50e0d2b
update on sponsor item
zorgness Nov 15, 2022
d1ad02d
wip card
guileveque Nov 15, 2022
a76f0f9
Merge pull request #6 from Rui-Error404/update_on_sponsor_item
zorgness Nov 15, 2022
6cdfc98
Merge branch 'main' into card-bootstrap
guileveque Nov 15, 2022
e1af0fd
update
zorgness Nov 15, 2022
9632ed7
wip card athlete
guileveque Nov 15, 2022
bbf82fb
Merge pull request #7 from Rui-Error404/card-bootstrap
guileveque Nov 15, 2022
2e62413
card link in athlete
guileveque Nov 15, 2022
33e80e9
Merge pull request #8 from Rui-Error404/card-bootstrap
guileveque Nov 15, 2022
376be3a
formulaire
Rui-Error404 Nov 15, 2022
b9c23af
css file + sponsor.css + import to app.css
sachabojanowski Nov 15, 2022
a23dd70
Merge pull request #10 from Rui-Error404/css
sachabojanowski Nov 15, 2022
6be183d
Merge branch 'main' into rui
Rui-Error404 Nov 15, 2022
5bfb43d
Merge pull request #9 from Rui-Error404/rui
Rui-Error404 Nov 15, 2022
52ee758
wip strapi
guileveque Nov 15, 2022
49dcd29
debug
guileveque Nov 15, 2022
8bf9058
Merge branch 'main' into strapi
guileveque Nov 15, 2022
6c57b21
add loader on sponsor page
zorgness Nov 15, 2022
c9037a3
Merge branch 'main' into loader
zorgness Nov 15, 2022
31f0550
Merge pull request #11 from Rui-Error404/loader
zorgness Nov 15, 2022
a6b41a0
update on scroll
zorgness Nov 15, 2022
20e3537
update
zorgness Nov 15, 2022
95a7cfc
update on spinners
zorgness Nov 15, 2022
2bdf6a2
add_spinner_on_athlete
zorgness Nov 15, 2022
abf3441
Merge pull request #12 from Rui-Error404/add_spinner_on_athlete
zorgness Nov 15, 2022
dc0073a
update_on_athlete_modal
zorgness Nov 15, 2022
b27f559
Merge pull request #13 from Rui-Error404/update_on_athlete_modal
zorgness Nov 15, 2022
64cb3cf
strapi first version request sponsors
guileveque Nov 15, 2022
0a29144
merge
guileveque Nov 15, 2022
9c163b1
Merge pull request #14 from Rui-Error404/strapi
guileveque Nov 15, 2022
df869ec
add api
zorgness Nov 15, 2022
1abf30d
cd
zorgness Nov 15, 2022
0d84e3d
api
zorgness Nov 15, 2022
2c70e7b
use_api_data
zorgness Nov 15, 2022
9ee294b
Merge pull request #15 from Rui-Error404/use_api_data
zorgness Nov 15, 2022
a3f47ab
wip matching
guileveque Nov 15, 2022
624992a
update
zorgness Nov 15, 2022
ec9785f
Merge pull request #16 from Rui-Error404/update_on_sponsor
zorgness Nov 15, 2022
84a8305
match beta
guileveque Nov 15, 2022
8def315
match
guileveque Nov 15, 2022
028a7c7
Merge pull request #17 from Rui-Error404/strapi
guileveque Nov 15, 2022
60fd2f6
update_on_spinner
zorgness Nov 15, 2022
a487c33
Merge pull request #18 from Rui-Error404/update_on_spinner
zorgness Nov 15, 2022
f74e19f
update on scroll
zorgness Nov 15, 2022
c22d3f2
Merge pull request #19 from Rui-Error404/update_on_athlete_data_conta…
zorgness Nov 15, 2022
3e48bdf
update
zorgness Nov 15, 2022
fe44252
update
zorgness Nov 15, 2022
a394044
update
zorgness Nov 15, 2022
67feede
like beta
guileveque Nov 15, 2022
6ebd832
Merge branch 'main' into like-match
guileveque Nov 15, 2022
b375d6a
Merge pull request #20 from Rui-Error404/like-match
guileveque Nov 15, 2022
7d97bff
update
zorgness Nov 15, 2022
6e35d13
Merge branch 'main' of github.com:Rui-Error404/reactjs
zorgness Nov 15, 2022
4afe682
api_athlete
zorgness Nov 15, 2022
2870577
Merge pull request #21 from Rui-Error404/api_athlete
zorgness Nov 15, 2022
60243e7
update on modal
zorgness Nov 15, 2022
e8aa929
front avancement 1
Rui-Error404 Nov 15, 2022
93fd324
wip modal like
guileveque Nov 15, 2022
22d9fe8
merge
guileveque Nov 15, 2022
a22bc0f
Merge branch 'main' into rui
Rui-Error404 Nov 15, 2022
be4616f
Merge pull request #23 from Rui-Error404/like-match
guileveque Nov 15, 2022
4dd15cd
resolving
Rui-Error404 Nov 15, 2022
a4bf170
wip
guileveque Nov 15, 2022
8621119
result confilct
guileveque Nov 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
16 changes: 16 additions & 0 deletions api/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
6 changes: 6 additions & 0 deletions api/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HOST=0.0.0.0
PORT=1337
APP_KEYS="toBeModified1,toBeModified2"
API_TOKEN_SALT=tobemodified
ADMIN_JWT_SECRET=tobemodified
JWT_SECRET=tobemodified
3 changes: 3 additions & 0 deletions api/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.cache
build
**/node_modules/**
27 changes: 27 additions & 0 deletions api/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"commonjs": true,
"es6": true,
"node": true,
"browser": false
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": false
},
"sourceType": "module"
},
"globals": {
"strapi": true
},
"rules": {
"indent": ["error", 2, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"no-console": 0,
"quotes": ["error", "single"],
"semi": ["error", "always"]
}
}
115 changes: 115 additions & 0 deletions api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
############################
# OS X
############################

.DS_Store
.AppleDouble
.LSOverride
Icon
.Spotlight-V100
.Trashes
._*


############################
# Linux
############################

*~


############################
# Windows
############################

Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp


############################
# Packages
############################

*.7z
*.csv
*.dat
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.com
*.class
*.dll
*.exe
*.o
*.seed
*.so
*.swo
*.swp
*.swn
*.swm
*.out
*.pid


############################
# Logs and databases
############################

.tmp
*.log
*.sql
*.sqlite
*.sqlite3


############################
# Misc.
############################

*#
ssl
.idea
nbproject
public/uploads/*
!public/uploads/.gitkeep

############################
# Node.js
############################

lib-cov
lcov.info
pids
logs
results
node_modules
.node_history

############################
# Tests
############################

testApp
coverage

############################
# Strapi
############################

.env
license.txt
exports
*.cache
dist
build
.strapi-updater.json
57 changes: 57 additions & 0 deletions api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# 🚀 Getting started with Strapi

Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/developer-docs/latest/developer-resources/cli/CLI.html) (CLI) which lets you scaffold and manage your project in seconds.

### `develop`

Start your Strapi application with autoReload enabled. [Learn more](https://docs.strapi.io/developer-docs/latest/developer-resources/cli/CLI.html#strapi-develop)

```
npm run develop
# or
yarn develop
```

### `start`

Start your Strapi application with autoReload disabled. [Learn more](https://docs.strapi.io/developer-docs/latest/developer-resources/cli/CLI.html#strapi-start)

```
npm run start
# or
yarn start
```

### `build`

Build your admin panel. [Learn more](https://docs.strapi.io/developer-docs/latest/developer-resources/cli/CLI.html#strapi-build)

```
npm run build
# or
yarn build
```

## ⚙️ Deployment

Strapi gives you many possible deployment options for your project. Find the one that suits you on the [deployment section of the documentation](https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/deployment.html).

## 📚 Learn more

- [Resource center](https://strapi.io/resource-center) - Strapi resource center.
- [Strapi documentation](https://docs.strapi.io) - Official Strapi documentation.
- [Strapi tutorials](https://strapi.io/tutorials) - List of tutorials made by the core team and the community.
- [Strapi blog](https://docs.strapi.io) - Official Strapi blog containing articles made by the Strapi team and the community.
- [Changelog](https://strapi.io/changelog) - Find out about the Strapi product updates, new features and general improvements.

Feel free to check out the [Strapi GitHub repository](https://github.com/strapi/strapi). Your feedback and contributions are welcome!

## ✨ Community

- [Discord](https://discord.strapi.io) - Come chat with the Strapi community including the core team.
- [Forum](https://forum.strapi.io/) - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
- [Awesome Strapi](https://github.com/strapi/awesome-strapi) - A curated list of awesome things related to Strapi.

---

<sub>🤫 Psst! [Strapi is hiring](https://strapi.io/careers).</sub>
8 changes: 8 additions & 0 deletions api/config/admin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET'),
},
apiToken: {
salt: env('API_TOKEN_SALT'),
},
});
7 changes: 7 additions & 0 deletions api/config/api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
rest: {
defaultLimit: 25,
maxLimit: 100,
withCount: true,
},
};
11 changes: 11 additions & 0 deletions api/config/database.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const path = require('path');

module.exports = ({ env }) => ({
connection: {
client: 'sqlite',
connection: {
filename: path.join(__dirname, '..', env('DATABASE_FILENAME', '.tmp/data.db')),
},
useNullAsDefault: true,
},
});
12 changes: 12 additions & 0 deletions api/config/middlewares.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = [
'strapi::errors',
'strapi::security',
'strapi::cors',
'strapi::poweredBy',
'strapi::logger',
'strapi::query',
'strapi::body',
'strapi::session',
'strapi::favicon',
'strapi::public',
];
7 changes: 7 additions & 0 deletions api/config/server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
app: {
keys: env.array('APP_KEYS'),
},
});
Empty file.
Binary file added api/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading