Skip to content
Open
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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# react-challenge
# react-challenge

https://pokemeetspizza.firebaseapp.com/
33 changes: 33 additions & 0 deletions reactapp/.firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
asset-manifest.json,1552233517071,ff822d62a45d29d44f9bd36e32f2961adbf9d396efb512980812c89faf523b4a
manifest.json,1552233492390,ed7b98046be74c7d1476b73ebb8cd1f00c2b34443af1525af60b9dd20be9fb9a
favicon.ico,1552233492386,c599b7a91ab3627e3538125d9f40adc2d4bf949046984262670545dc7738af06
service-worker.js,1552233517071,c79ab733daaa1b2485f8ee3c85a462c3d2bea66e53de63b402fbb72ed8d056d6
index.html,1552233517071,bb925dc3e6269a3fd908f7da1685cb80007c0a7c60d4304a32683e636e67429d
precache-manifest.54b9649ac56e2a6b288f04b8dd723bc4.js,1552233517071,49fb73843b86d3e9cf627360265a535750d0ad7ac450b6095dd1d5bbcf05f7e3
static/css/main.fc0151a2.chunk.css,1552233517179,e95225effd9fdd33a91fa130c8e99621426e1a840415447bcc14f4543ae40e5d
static/css/main.fc0151a2.chunk.css.map,1552233517175,fc3f5a71557fb79b1ef82271e42243e0cf3ff8c0446eafb2978c0481ca0b4199
static/js/runtime~main.fdfcfda2.js.map,1552233517175,a8a401455e26ed86abc61a092754b78be748d60b7d820f16ae66247076ffb9b6
static/js/main.2fe9202b.chunk.js,1552233517175,2f844808e58cfe8e1baf7b44e2c534d3c42a4996203b7d325ea24b60ce9cc8c5
static/js/main.2fe9202b.chunk.js.map,1552233517175,39f7f38d05e6521360b464c49a7c88177182fe9a9f4907a405a14da56c0b3eb9
static/js/runtime~main.fdfcfda2.js,1552233517175,f8959cf2602bcd38f3bd32af487cb68a181f068bd902a6d745e0afa169e5ffd8
static/media/outline-icons.cd6c777f.woff2,1552233517151,331f1fcc4fc47da9142da65e8613b4a14ce173550df48f3c92f4febd5e7b1154
static/media/outline-icons.701ae6ab.eot,1552233517175,3e68cacfedeaebb1e397f44fc886634076e10875fe3342a1f7c2c231931d9b23
static/media/outline-icons.ad97afd3.ttf,1552233517175,297b20561254bae1b0374af246a5f29580a32f5e8a2863638ccea9b0e1b61c00
static/media/outline-icons.ef60a4f6.woff,1552233517175,0c13b3d60f10bcafb903911c3790d9a067879afd47c90a67c0f5c5e6d2c4aea4
static/media/flags.9c74e172.png,1552233517175,9fe0f5c87b3778b66267ffaed4805ecdd959cd5d088141c07025719f9110e4fb
poke.png,1552233492390,32175dacaa5f8907ae782384bd4a82914c161940d1796c5b837676669b6dac51
static/media/icons.0ab54153.woff2,1552233517175,78c0804fce6978609d14c2e67c5e94fcc6699f45492bb9cd265177879d4a4d8b
static/media/brand-icons.a046592b.woff,1552233517175,65594cfd10ce510a5f77af0787dfaec099c2e44b6a6e22962bec8f6a6eca92a1
static/media/brand-icons.e8c322de.woff2,1552233517175,a6395bd4bd74367af8926f06393da9364580851d05c55184f67cb38d3e28ea0c
static/media/icons.faff9214.woff,1552233517175,4f2d1ae2579e4a94c4bdd3020137e515fba299ef6c7e5ef793d39aadde52e721
static/media/outline-icons.82f60bd0.svg,1552233517175,30ce9c3e418f01093ef122968b2a5e36f296631a5452ac6d13eefc36114a0c1b
static/media/brand-icons.13db00b7.eot,1552233517175,32802f55edb539bfe2ed44f3b31cd0a306488ee3b11b8b5098eb285c9f54a321
static/media/icons.8e3c7f55.eot,1552233517175,5c61d91dfd8562438662b23c3bc574ff1108653d91d6a9fc7e1e080cd888141a
static/media/icons.b87b9ba5.ttf,1552233517175,6a21ee03146515f44bac11c8af7202f5ba28ad4f173d459921748635aa7cf28d
static/media/brand-icons.c5ebe0b3.ttf,1552233517175,27ba73bf2a0ad60343313fdb5acead066c32e77116f0450ccbd98c2788f8fd83
static/css/2.08a78ec7.chunk.css,1552233517151,31c620d64d6ca801ae61ad839e58f71ab9cabca21b573d861c504373a37530fb
static/media/icons.962a1bf3.svg,1552233517175,2e8f8451434580f03c45a270b6f803586dc2859b39d69d010af344ad7eedf189
static/js/2.44fb071d.chunk.js,1552233517151,9bb80f7a4f23cef97b83d48772a2587ea3f12e7de6b0a5cd1c92b1879b96c1e7
static/media/brand-icons.a1a749e8.svg,1552233517175,ae24b2c3ca3ddd581ceffe07424cc5b0df4e59e3fed6b7a23ace990909941817
static/css/2.08a78ec7.chunk.css.map,1552233517175,681f36d29a8708c012862fd945047d218743b474acc31b7445b5766c08c79ebc
static/js/2.44fb071d.chunk.js.map,1552233517175,cf6c4b2e8848104b4239eb933be954f634b20b1c98b5e8c39b3ecd289f818eda
5 changes: 5 additions & 0 deletions reactapp/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "pokemeetspizza"
}
}
24 changes: 24 additions & 0 deletions reactapp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
firestore.js
.env
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
68 changes: 68 additions & 0 deletions reactapp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br>
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
16 changes: 16 additions & 0 deletions reactapp/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
19 changes: 19 additions & 0 deletions reactapp/firestore.indexes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"indexes": [
{
"collectionGroup": "Apps",
"queryScope": "COLLECTION",
"fields": [
{
"fieldPath": "uid",
"order": "ASCENDING"
},
{
"fieldPath": "CreatedAt",
"order": "ASCENDING"
}
]
}
],
"fieldOverrides": []
}
7 changes: 7 additions & 0 deletions reactapp/firestore.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write;
}
}
}
36 changes: 36 additions & 0 deletions reactapp/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "reactapp",
"version": "0.1.0",
"private": true,
"dependencies": {
"alertifyjs": "^1.11.2",
"axios": "^0.18.0",
"dotenv": "^6.2.0",
"firebase": "^5.8.5",
"firebaseui": "^3.5.2",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-redux": "^6.0.1",
"react-router-dom": "^4.3.1",
"react-scripts": "2.1.5",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.85.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
Binary file added reactapp/public/favicon.ico
Binary file not shown.
43 changes: 43 additions & 0 deletions reactapp/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="theme-color" content="#000000" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<script src="//cdn.jsdelivr.net/npm/alertifyjs@1.11.2/build/alertify.min.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/alertifyjs@1.11.2/build/css/alertify.min.css"/>
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.

You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.

To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
15 changes: 15 additions & 0 deletions reactapp/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
Binary file added reactapp/public/poke.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading