Skip to content

Commit fbbd414

Browse files
committed
Feature/Initial-commit
0 parents  commit fbbd414

33 files changed

+11233
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.env
2+
node_modules

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Getting Started with Create React App
2+
3+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4+
5+
## Available Scripts
6+
7+
In the project directory, you can run:
8+
9+
### `yarn start`
10+
11+
Runs the app in the development mode.\
12+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13+
14+
The page will reload if you make edits.\
15+
You will also see any lint errors in the console.
16+
17+
### `yarn test`
18+
19+
Launches the test runner in the interactive watch mode.\
20+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21+
22+
### `yarn build`
23+
24+
Builds the app for production to the `build` folder.\
25+
It correctly bundles React in production mode and optimizes the build for the best performance.
26+
27+
The build is minified and the filenames include the hashes.\
28+
Your app is ready to be deployed!
29+
30+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31+
32+
### `yarn eject`
33+
34+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35+
36+
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.
37+
38+
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.
39+
40+
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.
41+
42+
## Learn More
43+
44+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45+
46+
To learn React, check out the [React documentation](https://reactjs.org/).

bitbucket-pipelines.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
image: node:lts-alpine
2+
3+
definitions:
4+
steps:
5+
- step: &build_and_deploy_to_s3
6+
name: Build and Deploy to S3
7+
# Regular steps have 4096 MB of memory in total, large build steps (which you can define using size: 2x) have 8192 MB in total.
8+
size: 2x
9+
caches:
10+
- node
11+
script:
12+
- echo $REACT_APP_API_URL
13+
- yarn install
14+
- CI=FALSE REACT_APP_API_URL=$REACT_APP_API_URL yarn build --verbose
15+
- pipe: atlassian/aws-s3-deploy:0.3.8
16+
variables:
17+
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
18+
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
19+
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
20+
S3_BUCKET: $S3_BUCKET
21+
LOCAL_PATH: "build"
22+
ACL: "private"
23+
- pipe: atlassian/aws-cloudfront-invalidate:0.1.1
24+
variables:
25+
DISTRIBUTION_ID: $DISTRIBUTION_ID
26+
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
27+
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
28+
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
29+
pipelines:
30+
branches:
31+
master:
32+
- step:
33+
<<: *build_and_deploy_to_s3
34+
deployment: Production
35+
staging:
36+
- step:
37+
<<: *build_and_deploy_to_s3
38+
deployment: Staging
39+
pull-requests:
40+
"**":
41+
- step:
42+
name: "Lint"
43+
caches:
44+
- node
45+
script:
46+
- yarn install
47+
#- yarn lint
48+
# - yarn run test:integration

package.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"name": "neurojson",
3+
"version": "0.1.0",
4+
"private": true,
5+
"dependencies": {
6+
"3d-force-graph": "^1.73.4",
7+
"@emotion/react": "^11.11.1",
8+
"@emotion/styled": "^11.11.0",
9+
"@mui/icons-material": "^5.14.3",
10+
"@mui/material": "^5.14.4",
11+
"@reduxjs/toolkit": "^1.9.5",
12+
"@testing-library/jest-dom": "^5.14.1",
13+
"@testing-library/react": "^13.0.0",
14+
"@testing-library/user-event": "^13.2.1",
15+
"@types/jest": "^27.0.1",
16+
"@types/react": "^18.0.0",
17+
"@types/react-dom": "^18.0.0",
18+
"@types/three": "^0.169.0",
19+
"axios": "^1.4.0",
20+
"dayjs": "^1.11.10",
21+
"jwt-decode": "^3.1.2",
22+
"query-string": "^8.1.0",
23+
"react": "^18.2.0",
24+
"react-dom": "^18.2.0",
25+
"react-redux": "^8.1.2",
26+
"react-router-dom": "^6.15.0",
27+
"react-scripts": "5.0.1",
28+
"three": "^0.169.0",
29+
"typescript": "^5.1.6",
30+
"web-vitals": "^2.1.0"
31+
},
32+
"devDependencies": {
33+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
34+
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
35+
"@types/node": "^20.5.7",
36+
"@typescript-eslint/eslint-plugin": "^5.31.0",
37+
"@typescript-eslint/parser": "^5.31.0",
38+
"eslint": "^8.21.0",
39+
"eslint-config-prettier": "^8.3.0",
40+
"eslint-config-react-app": "^7.0.1",
41+
"eslint-import-resolver-alias": "^1.1.2",
42+
"eslint-plugin-import": "^2.23.4",
43+
"eslint-plugin-prefer-arrow-functions": "^3.0.1",
44+
"eslint-plugin-prettier": "^4.2.1",
45+
"eslint-plugin-react": "^7.30.1",
46+
"prettier": "^2.3.1"
47+
},
48+
"scripts": {
49+
"start": "react-scripts start",
50+
"build": "react-scripts build",
51+
"test": "react-scripts test",
52+
"eject": "react-scripts eject"
53+
},
54+
"browserslist": {
55+
"production": [
56+
">0.2%",
57+
"not dead",
58+
"not op_mini all"
59+
],
60+
"development": [
61+
"last 1 chrome version",
62+
"last 1 firefox version",
63+
"last 1 safari version"
64+
]
65+
}
66+
}

public/favicon.ico

87.4 KB
Binary file not shown.

public/index.html

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<!DOCTYPE html>
2+
<html lang="es">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link
6+
rel="icon"
7+
href="io_fav.png"
8+
/>
9+
<meta name="viewport" content="width=device-width, initial-scale=1" />
10+
<meta name="theme-color" content="#000000" />
11+
<meta
12+
name="description"
13+
content="Web site created using create-react-app"
14+
/>
15+
16+
<!--
17+
manifest.json provides metadata used when your web app is installed on a
18+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
19+
-->
20+
21+
<!--
22+
Notice the use of %PUBLIC_URL% in the tags above.
23+
It will be replaced with the URL of the `public` folder during the build.
24+
Only files inside the `public` folder can be referenced from the HTML.
25+
26+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
27+
work correctly both with client-side routing and a non-root public URL.
28+
Learn how to configure a non-root public URL by running `npm run build`.
29+
-->
30+
<link
31+
rel="stylesheet"
32+
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
33+
/>
34+
<link
35+
rel="stylesheet"
36+
href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,700&display=swap"
37+
/>
38+
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;700&display=swap" rel="stylesheet">
39+
40+
41+
<title>NeuroJSON.io - Free Data Worth Sharing</title>
42+
</head>
43+
<body>
44+
<noscript>You need to enable JavaScript to run this app.</noscript>
45+
<div id="root"></div>
46+
<!--
47+
This HTML file is a template.
48+
If you open it directly in the browser, you will see an empty page.
49+
50+
You can add webfonts, meta tags, or analytics to this file.
51+
The build step will place the bundled scripts into the <body> tag.
52+
53+
To begin the development, run `npm start` or `yarn start`.
54+
To create a production bundle, use `npm run build` or `yarn build`.
55+
-->
56+
</body>
57+
</html>

public/io_fav.png

10.9 KB
Loading

public/robots.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://www.robotstxt.org/robotstxt.html
2+
User-agent: *
3+
Disallow:

src/App.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { ThemeProvider } from "@mui/material/styles";
2+
import Routes from "components/Routes";
3+
import theme from "design/theme";
4+
import { BrowserRouter } from "react-router-dom";
5+
6+
const App = () => {
7+
return (
8+
<ThemeProvider theme={theme}>
9+
<BrowserRouter>
10+
<Routes />
11+
</BrowserRouter>
12+
</ThemeProvider>
13+
);
14+
};
15+
16+
export default App;

0 commit comments

Comments
 (0)