Skip to content

Commit 6189d3d

Browse files
committed
codebase setup
0 parents  commit 6189d3d

23 files changed

+12054
-0
lines changed

.editorconfig

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# http://editorconfig.org
2+
3+
# A special property that should be specified at the top of the file outside of
4+
# any sections. Set to true to stop .editor config file search on current file
5+
root = true
6+
7+
[*]
8+
# Indentation style
9+
# Possible values - tab, space
10+
indent_style = space
11+
12+
# Indentation size in single-spaced characters
13+
# Possible values - an integer, tab
14+
indent_size = 2
15+
16+
# Line ending file format
17+
# Possible values - lf, crlf, cr
18+
end_of_line = lf
19+
20+
# File character encoding
21+
# Possible values - latin1, utf-8, utf-16be, utf-16le
22+
charset = utf-8
23+
24+
# Denotes whether to trim whitespace at the end of lines
25+
# Possible values - true, false
26+
trim_trailing_whitespace = true
27+
28+
# Denotes whether file should end with a newline
29+
# Possible values - true, false
30+
insert_final_newline = true
31+
32+
[*.hbs]
33+
insert_final_newline = false
34+
35+
[*.ts]
36+
indent_size = 2
37+
38+
[{package}.json]
39+
indent_size = 2
40+
41+
[*.md]
42+
max_line_length = 0
43+
trim_trailing_whitespace = false
44+
45+
[*.yml]
46+
indent_size = 2
47+
48+
[Makefile]
49+
indent_style = tab

.eslintrc.js

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es6: true,
5+
node: true,
6+
jest: true,
7+
},
8+
extends: [
9+
"airbnb-base",
10+
"eslint:recommended",
11+
"plugin:jsx-a11y/recommended",
12+
"plugin:react-hooks/recommended",
13+
"plugin:react/recommended",
14+
"plugin:prettier/recommended",
15+
],
16+
plugins: ["prettier"],
17+
globals: {
18+
Atomics: "readonly",
19+
SharedArrayBuffer: "readonly",
20+
},
21+
22+
parserOptions: {
23+
ecmaVersion: 2018,
24+
sourceType: "module",
25+
},
26+
rules: {
27+
"no-param-reassign": ["error", { props: false }],
28+
camelcase: "off",
29+
"linebreak-style": 0,
30+
"prettier/prettier": "error",
31+
},
32+
settings: {
33+
react: {
34+
version: "detect",
35+
},
36+
},
37+
};

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env
17+
.env.local
18+
.env.development.local
19+
.env.test.local
20+
.env.production.local
21+
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*

.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"prettier": {
3+
"printWidth": 90,
4+
"bracketSpacing": false,
5+
"trailingComma": "es5"
6+
}
7+
}

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# No Code Data Platform
2+
3+
Enabling data visualisation and Analysis/Proccessing visually like an Artist with Danfojs
4+
5+
Clone the repo and cd into the repo directory and then run `yarn`

craco.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
style: {
3+
postcss: {
4+
plugins: [require("tailwindcss"), require("autoprefixer")],
5+
},
6+
},
7+
};

debug.log

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[0101/134724.452:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)

package.json

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": "project-xz",
3+
"version": "0.1.0",
4+
"private": true,
5+
"dependencies": {
6+
"@craco/craco": "^6.0.0",
7+
"@tailwindcss/postcss7-compat": "^2.0.2",
8+
"@testing-library/jest-dom": "^5.11.5",
9+
"@testing-library/react": "^11.1.1",
10+
"@testing-library/user-event": "^12.2.0",
11+
"autoprefixer": "^9",
12+
"postcss": "^7",
13+
"react": "^17.0.1",
14+
"react-dom": "^17.0.1",
15+
"react-router-dom": "^5.2.0",
16+
"react-scripts": "4.0.0",
17+
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
18+
"web-vitals": "^0.2.4"
19+
},
20+
"scripts": {
21+
"start": "craco start",
22+
"build": "craco build",
23+
"test": "craco test",
24+
"eject": "react-scripts eject",
25+
"lint": "eslint .",
26+
"lint:fix": "eslint . --fix"
27+
},
28+
"eslintConfig": {
29+
"extends": [
30+
"react-app",
31+
"react-app/jest"
32+
]
33+
},
34+
"browserslist": {
35+
"production": [
36+
">0.2%",
37+
"not dead",
38+
"not op_mini all"
39+
],
40+
"development": [
41+
"last 1 chrome version",
42+
"last 1 firefox version",
43+
"last 1 safari version"
44+
]
45+
},
46+
"devDependencies": {
47+
"eslint-config-airbnb-base": "^14.2.1",
48+
"eslint-config-prettier": "^7.0.0",
49+
"eslint-plugin-import": "^2.22.1",
50+
"eslint-plugin-jsx-a11y": "^6.4.1",
51+
"eslint-plugin-prettier": "^3.2.0",
52+
"eslint-plugin-react": "^7.21.5",
53+
"eslint-plugin-react-hooks": "^4.2.0",
54+
"prettier": "^2.2.1",
55+
"test": "^0.6.0"
56+
}
57+
}

public/favicon.ico

3.78 KB
Binary file not shown.

public/index.html

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta
9+
name="description"
10+
content="Web site created using create-react-app"
11+
/>
12+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
14+
integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
15+
<!--
16+
manifest.json provides metadata used when your web app is installed on a
17+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
18+
-->
19+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
20+
<!--
21+
Notice the use of %PUBLIC_URL% in the tags above.
22+
It will be replaced with the URL of the `public` folder during the build.
23+
Only files inside the `public` folder can be referenced from the HTML.
24+
25+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
26+
work correctly both with client-side routing and a non-root public URL.
27+
Learn how to configure a non-root public URL by running `npm run build`.
28+
-->
29+
<title>React App</title>
30+
</head>
31+
<body>
32+
<noscript>You need to enable JavaScript to run this app.</noscript>
33+
<div id="root"></div>
34+
<!--
35+
This HTML file is a template.
36+
If you open it directly in the browser, you will see an empty page.
37+
38+
You can add webfonts, meta tags, or analytics to this file.
39+
The build step will place the bundled scripts into the <body> tag.
40+
41+
To begin the development, run `npm start` or `yarn start`.
42+
To create a production bundle, use `npm run build` or `yarn build`.
43+
-->
44+
</body>
45+
</html>

public/manifest.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}

public/robots.txt

+3
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.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* eslint-disable camelcase */
2+
import React from "react";
3+
// import { reducer } from "./reducer";
4+
5+
// const defaultState = {
6+
// chart: [{ x:"", y:"", chartType:""}], //contains char props for each chart
7+
// dataframe: [{data:""}] //conatains data for each DataTable component
8+
// };
9+
10+
function App() {
11+
return <div className="max-w-2xl mx-auto mt-20">Main App</div>;
12+
}
13+
14+
export default App;

src/__tests__/App.test.js

Whitespace-only changes.

src/components/Chart.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import React from "react";
2+
3+
export default function Chart() {
4+
return <div>Chart Component</div>;
5+
}

src/components/DataTable.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import React from "react";
2+
3+
export default function DataTable() {
4+
return <div>DataTable Component</div>;
5+
}

src/components/SidePlane.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import React from "react";
2+
3+
export default function SidePlane() {
4+
return <div>SidePlane component</div>;
5+
}

src/index.css

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
body {
2+
margin: 0;
3+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5+
sans-serif;
6+
-webkit-font-smoothing: antialiased;
7+
-moz-osx-font-smoothing: grayscale;
8+
}
9+
10+
code {
11+
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
12+
monospace;
13+
}
14+
@tailwind base;
15+
@tailwind components;
16+
@tailwind utilities;

src/index.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import React from "react";
2+
import ReactDOM from "react-dom";
3+
import "./index.css";
4+
import App from "./App";
5+
6+
ReactDOM.render(<App />, document.getElementById("root"));

src/logo.svg

+7
Loading

src/reducer.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* eslint-disable import/prefer-default-export */
2+
// eslint-disable-next-line consistent-return
3+
// export const reducer = (state, action) => {};

tailwind.config.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
3+
darkMode: false, // or 'media' or 'class'
4+
theme: {
5+
extend: {},
6+
},
7+
variants: {
8+
extend: {},
9+
},
10+
plugins: [],
11+
};

0 commit comments

Comments
 (0)