Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Seqi/raifu
Browse files Browse the repository at this point in the history
  • Loading branch information
Seqi committed Oct 8, 2023
2 parents b270af8 + 1e56e80 commit 048ee42
Show file tree
Hide file tree
Showing 27 changed files with 9,178 additions and 28,353 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ node_modules
/coverage

# production
web/build
web/dist

# misc
.DS_Store
Expand Down
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ started [here](https://firebase.google.com/). When you create a Firebase project
with a few settings. Set these in your `.env` file with the following keys:

```
REACT_APP_FIREBASE_APIKEY
REACT_APP_FIREBASE_AUTH_DOMAIN
REACT_APP_FIREBASE_PROJECT_ID
REACT_APP_FIREBASE_APP_ID
VITE_FIREBASE_APIKEY
VITE_FIREBASE_AUTH_DOMAIN
VITE_FIREBASE_PROJECT_ID
VITE_FIREBASE_APP_ID
```

Your `.env` file should now look something like this:

```
REACT_APP_FIREBASE_APIKEY=myapikey
REACT_APP_FIREBASE_AUTH_DOMAIN=myauthdomain
REACT_APP_FIREBASE_PROJECT_ID=myprojectid
REACT_APP_FIREBASE_APP_ID=my:app:id
VITE_FIREBASE_APIKEY=myapikey
VITE_FIREBASE_AUTH_DOMAIN=myauthdomain
VITE_FIREBASE_PROJECT_ID=myprojectid
VITE_FIREBASE_APP_ID=my:app:id
```

Next, install the `firebase-tools` package from npm with `npm i -g firebase-tools`. This contains the emulator to spin up a local firebase development backend. Then run `firebase login` to login
Expand Down
12 changes: 10 additions & 2 deletions web/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"extends": [
"react-app",
"plugin:react/recommended",
Expand Down Expand Up @@ -48,5 +48,13 @@
"react/jsx-boolean-value": ["error", "always"],
"react/jsx-no-duplicate-props": "error",
"react/jsx-pascal-case": "error"
}
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"no-undef": "off"
}
}
]
}
5 changes: 3 additions & 2 deletions web/public/index.html → web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico?v1" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="manifest" href="/manifest.json" />
<link href="https://fonts.googleapis.com/css?family=Alata" rel="stylesheet" />

<link
Expand All @@ -19,5 +19,6 @@
<body>
<noscript> You need to enable JavaScript to run this app. </noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>
Loading

0 comments on commit 048ee42

Please sign in to comment.