diff --git a/web/.editorconfig b/web/.editorconfig new file mode 100644 index 00000000..edc12255 --- /dev/null +++ b/web/.editorconfig @@ -0,0 +1,12 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = crlf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/web/.gitignore b/web/.gitignore new file mode 100644 index 00000000..712f58cf --- /dev/null +++ b/web/.gitignore @@ -0,0 +1,140 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# 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* + +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* diff --git a/web/README.md b/web/README.md new file mode 100644 index 00000000..ae5c5551 --- /dev/null +++ b/web/README.md @@ -0,0 +1,5 @@ +# CRUD - reactJS + +- HOME + +![manipulando as notas](./assets/notes.png) diff --git a/web/assets/notes.png b/web/assets/notes.png new file mode 100644 index 00000000..f824ca2f Binary files /dev/null and b/web/assets/notes.png differ diff --git a/web/package.json b/web/package.json new file mode 100644 index 00000000..233cfdb5 --- /dev/null +++ b/web/package.json @@ -0,0 +1,40 @@ +{ + "name": "web", + "version": "0.1.0", + "private": true, + "dependencies": { + "@testing-library/jest-dom": "^5.11.4", + "@testing-library/react": "^11.1.0", + "@testing-library/user-event": "^12.1.10", + "history": "^5.0.0", + "react": "^17.0.1", + "react-dom": "^17.0.1", + "react-icons": "^4.1.0", + "react-router-dom": "^6.0.0-beta.0", + "react-scripts": "4.0.1", + "styled-components": "^5.2.1", + "web-vitals": "^0.2.4" + }, + "scripts": { + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test", + "eject": "react-scripts eject" + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + }, + "devDependencies": { + "eslint": "^7.16.0", + "prettier": "^2.2.1" + } +} diff --git a/web/public/favicon.ico b/web/public/favicon.ico new file mode 100644 index 00000000..a11777cc Binary files /dev/null and b/web/public/favicon.ico differ diff --git a/web/public/index.html b/web/public/index.html new file mode 100644 index 00000000..76799ba3 --- /dev/null +++ b/web/public/index.html @@ -0,0 +1,21 @@ + + + + + + + + + + + + Checkout - eliasallex + + + +
+ + diff --git a/web/public/manifest.json b/web/public/manifest.json new file mode 100644 index 00000000..080d6c77 --- /dev/null +++ b/web/public/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/web/public/robots.txt b/web/public/robots.txt new file mode 100644 index 00000000..e9e57dc4 --- /dev/null +++ b/web/public/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/web/src/App.js b/web/src/App.js new file mode 100644 index 00000000..8f636b0e --- /dev/null +++ b/web/src/App.js @@ -0,0 +1,25 @@ +import React from 'react'; +import { BrowserRouter, Routes, Route } from 'react-router-dom' +// STYLES | STATICs +import GlobalStyles from './styles/GlobalStyles'; + +// PAGEs +import Home from './pages/Home' +import Auth from './pages/Auth' +// COMPONENTs +import Footer from './components/Footer' + +const App = () => ( + + + } /> + } /> + + +