├── LICENSE
├── advanced
├── .gitignore
├── README.md
├── package-lock.json
├── package.json
├── public
│ ├── favicon.ico
│ ├── index.html
│ ├── logo192.png
│ ├── logo512.png
│ ├── manifest.json
│ └── robots.txt
└── src
│ ├── App.js
│ ├── App.test.js
│ ├── assets
│ ├── global.css
│ └── logo.svg
│ ├── components
│ ├── form
│ │ ├── Checkbox.js
│ │ ├── FormInput.js
│ │ ├── FormSelect.js
│ │ └── RadioButton.js
│ └── ui
│ │ ├── Button.js
│ │ ├── ButtonGroup.js
│ │ ├── Dropdown.js
│ │ └── Modal.js
│ ├── context
│ ├── AnalyticsContext.js
│ └── __tests__
│ │ └── AuthContext.js
│ ├── data
│ ├── configValues.json
│ ├── constants.js
│ └── defaultTodos.json
│ ├── features
│ ├── authentication
│ │ ├── components
│ │ │ ├── LoginForm.js
│ │ │ └── SignupForm.js
│ │ ├── hooks
│ │ │ ├── useLogin.js
│ │ │ ├── useSignup.js
│ │ │ └── useVerifyPassword.js
│ │ ├── index.js
│ │ └── services
│ │ │ ├── getUser.js
│ │ │ ├── login.js
│ │ │ └── signup.js
│ ├── projects
│ │ ├── components
│ │ │ ├── ProjectForm.js
│ │ │ ├── ProjectItem.js
│ │ │ └── ProjectList.js
│ │ ├── index.js
│ │ └── services
│ │ │ ├── createProject.js
│ │ │ └── getProjects.js
│ ├── settings
│ │ ├── components
│ │ │ └── SettingsForm.js
│ │ ├── context
│ │ │ └── SettingsContext.js
│ │ ├── hooks
│ │ │ └── useSettings.js
│ │ ├── index.js
│ │ └── services
│ │ │ ├── getSettings.js
│ │ │ └── updateSettings.js
│ └── todos
│ │ ├── assets
│ │ └── image.jpg
│ │ ├── components
│ │ ├── NewTodoModal.js
│ │ ├── TodoForm.js
│ │ ├── TodoItem.js
│ │ └── TodoList.js
│ │ ├── context
│ │ └── TodoContext.js
│ │ ├── index.js
│ │ └── services
│ │ ├── deleteTodo.js
│ │ ├── getTodos.js
│ │ └── updateTodo.js
│ ├── hooks
│ ├── __tests__
│ │ ├── useFetch.test.js
│ │ └── useLocalStorage.test.js
│ ├── useFetch.js
│ └── useLocalStorage.js
│ ├── index.js
│ ├── layouts
│ ├── Navbar.js
│ ├── PageContainer.js
│ └── Sidebar.js
│ ├── lib
│ └── fetch.js
│ ├── pages
│ ├── Home.js
│ ├── Login.js
│ ├── Projects.js
│ ├── Settings.js
│ └── Signup.js
│ ├── reportWebVitals.js
│ ├── services
│ └── analytics.js
│ ├── setupTests.js
│ └── utils
│ ├── __tests__
│ ├── formatCurrency.test.js
│ └── formatDate.test.js
│ ├── formatCurrency.js
│ └── formatDate.js
├── beginner
├── .gitignore
├── README.md
├── package-lock.json
├── package.json
├── public
│ ├── favicon.ico
│ ├── index.html
│ ├── logo192.png
│ ├── logo512.png
│ ├── manifest.json
│ └── robots.txt
└── src
│ ├── App.css
│ ├── App.js
│ ├── App.test.js
│ ├── TodoContext.js
│ ├── __tests__
│ ├── components
│ │ └── Button.test.js
│ └── hooks
│ │ └── useLocalStorage.test.js
│ ├── components
│ ├── Button.js
│ ├── ButtonGroup.js
│ ├── Checkbox.js
│ ├── Dropdown.js
│ ├── FormInput.js
│ ├── FormSelect.js
│ ├── Home.js
│ ├── Modal.js
│ ├── Navbar.js
│ ├── NewTodoModal.js
│ ├── RadioButton.js
│ ├── TodoForm.js
│ ├── TodoItem.js
│ └── TodoList.js
│ ├── formatCurrency.js
│ ├── formatDate.js
│ ├── hooks
│ ├── useFetch.js
│ └── useLocalStorage.js
│ ├── index.css
│ ├── index.js
│ ├── logo.svg
│ ├── reportWebVitals.js
│ └── setupTests.js
└── intermediate
├── .gitignore
├── README.md
├── package-lock.json
├── package.json
├── public
├── favicon.ico
├── index.html
├── logo192.png
├── logo512.png
├── manifest.json
└── robots.txt
└── src
├── App.js
├── App.test.js
├── assets
├── global.css
└── logo.svg
├── components
├── Navbar.js
├── form
│ ├── Checkbox.js
│ ├── FormInput.js
│ ├── FormSelect.js
│ └── RadioButton.js
└── ui
│ ├── Button.js
│ ├── ButtonGroup.js
│ ├── Dropdown.js
│ └── Modal.js
├── context
├── AuthContext.js
└── __tests__
│ └── AuthContext.js
├── data
├── configValues.json
├── constants.js
└── defaultTodos.json
├── hooks
├── __tests__
│ ├── useFetch.test.js
│ └── useLocalStorage.test.js
├── useFetch.js
└── useLocalStorage.js
├── index.js
├── pages
├── Home
│ ├── NewTodoModal.js
│ ├── TodoContext.js
│ ├── TodoForm.js
│ ├── TodoItem.js
│ ├── TodoList.js
│ ├── __tests__
│ │ ├── NewTodoModal.test.js
│ │ ├── TodoContext.test.js
│ │ ├── TodoForm.test.js
│ │ ├── TodoItem.test.js
│ │ ├── TodoList.test.js
│ │ └── index.test.js
│ └── index.js
├── Login
│ ├── LoginForm.js
│ ├── index.js
│ └── useLogin.js
├── Settings
│ ├── SettingsContext.js
│ ├── SettingsForm.js
│ ├── index.js
│ └── useSettings.js
└── Signup
│ ├── SignupForm.js
│ ├── index.js
│ ├── useSignup.js
│ └── useVerifyPassword.js
├── reportWebVitals.js
├── setupTests.js
└── utils
├── __tests__
├── formatCurrency.test.js
└── formatDate.test.js
├── formatCurrency.js
└── formatDate.js
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 WebDevSimplified
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/advanced/.gitignore:
--------------------------------------------------------------------------------
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.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
--------------------------------------------------------------------------------
/advanced/README.md:
--------------------------------------------------------------------------------
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 | ### `npm start`
10 |
11 | Runs the app in the development mode.\
12 | Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
13 |
14 | The page will reload when you make changes.\
15 | You may also see any lint errors in the console.
16 |
17 | ### `npm 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 | ### `npm run 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 | ### `npm run 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/).
47 |
48 | ### Code Splitting
49 |
50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51 |
52 | ### Analyzing the Bundle Size
53 |
54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55 |
56 | ### Making a Progressive Web App
57 |
58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59 |
60 | ### Advanced Configuration
61 |
62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63 |
64 | ### Deployment
65 |
66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67 |
68 | ### `npm run build` fails to minify
69 |
70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
71 |
--------------------------------------------------------------------------------
/advanced/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "advanced",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@testing-library/jest-dom": "^5.16.4",
7 | "@testing-library/react": "^13.3.0",
8 | "@testing-library/user-event": "^13.5.0",
9 | "react": "^18.2.0",
10 | "react-dom": "^18.2.0",
11 | "react-scripts": "5.0.1",
12 | "web-vitals": "^2.1.4"
13 | },
14 | "scripts": {
15 | "start": "react-scripts start",
16 | "build": "react-scripts build",
17 | "test": "react-scripts test",
18 | "eject": "react-scripts eject"
19 | },
20 | "eslintConfig": {
21 | "extends": [
22 | "react-app",
23 | "react-app/jest"
24 | ]
25 | },
26 | "browserslist": {
27 | "production": [
28 | ">0.2%",
29 | "not dead",
30 | "not op_mini all"
31 | ],
32 | "development": [
33 | "last 1 chrome version",
34 | "last 1 firefox version",
35 | "last 1 safari version"
36 | ]
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/advanced/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/public/favicon.ico
--------------------------------------------------------------------------------
/advanced/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
27 | React App
28 |
29 |
30 |
31 |
32 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/advanced/public/logo192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/public/logo192.png
--------------------------------------------------------------------------------
/advanced/public/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/public/logo512.png
--------------------------------------------------------------------------------
/advanced/public/manifest.json:
--------------------------------------------------------------------------------
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 | }
26 |
--------------------------------------------------------------------------------
/advanced/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/advanced/src/App.js:
--------------------------------------------------------------------------------
1 | import logo from './logo.svg';
2 | import './App.css';
3 |
4 | function App() {
5 | return (
6 |
22 | );
23 | }
24 |
25 | export default App;
26 |
--------------------------------------------------------------------------------
/advanced/src/App.test.js:
--------------------------------------------------------------------------------
1 | import { render, screen } from '@testing-library/react';
2 | import App from './App';
3 |
4 | test('renders learn react link', () => {
5 | render();
6 | const linkElement = screen.getByText(/learn react/i);
7 | expect(linkElement).toBeInTheDocument();
8 | });
9 |
--------------------------------------------------------------------------------
/advanced/src/assets/global.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/assets/global.css
--------------------------------------------------------------------------------
/advanced/src/assets/logo.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/advanced/src/components/form/Checkbox.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/components/form/Checkbox.js
--------------------------------------------------------------------------------
/advanced/src/components/form/FormInput.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/components/form/FormInput.js
--------------------------------------------------------------------------------
/advanced/src/components/form/FormSelect.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/components/form/FormSelect.js
--------------------------------------------------------------------------------
/advanced/src/components/form/RadioButton.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/components/form/RadioButton.js
--------------------------------------------------------------------------------
/advanced/src/components/ui/Button.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/components/ui/Button.js
--------------------------------------------------------------------------------
/advanced/src/components/ui/ButtonGroup.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/components/ui/ButtonGroup.js
--------------------------------------------------------------------------------
/advanced/src/components/ui/Dropdown.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/components/ui/Dropdown.js
--------------------------------------------------------------------------------
/advanced/src/components/ui/Modal.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/components/ui/Modal.js
--------------------------------------------------------------------------------
/advanced/src/context/AnalyticsContext.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/context/AnalyticsContext.js
--------------------------------------------------------------------------------
/advanced/src/context/__tests__/AuthContext.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/context/__tests__/AuthContext.js
--------------------------------------------------------------------------------
/advanced/src/data/configValues.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/data/configValues.json
--------------------------------------------------------------------------------
/advanced/src/data/constants.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/data/constants.js
--------------------------------------------------------------------------------
/advanced/src/data/defaultTodos.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/data/defaultTodos.json
--------------------------------------------------------------------------------
/advanced/src/features/authentication/components/LoginForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/authentication/components/LoginForm.js
--------------------------------------------------------------------------------
/advanced/src/features/authentication/components/SignupForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/authentication/components/SignupForm.js
--------------------------------------------------------------------------------
/advanced/src/features/authentication/hooks/useLogin.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/authentication/hooks/useLogin.js
--------------------------------------------------------------------------------
/advanced/src/features/authentication/hooks/useSignup.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/authentication/hooks/useSignup.js
--------------------------------------------------------------------------------
/advanced/src/features/authentication/hooks/useVerifyPassword.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/authentication/hooks/useVerifyPassword.js
--------------------------------------------------------------------------------
/advanced/src/features/authentication/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/authentication/index.js
--------------------------------------------------------------------------------
/advanced/src/features/authentication/services/getUser.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/authentication/services/getUser.js
--------------------------------------------------------------------------------
/advanced/src/features/authentication/services/login.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/authentication/services/login.js
--------------------------------------------------------------------------------
/advanced/src/features/authentication/services/signup.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/authentication/services/signup.js
--------------------------------------------------------------------------------
/advanced/src/features/projects/components/ProjectForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/projects/components/ProjectForm.js
--------------------------------------------------------------------------------
/advanced/src/features/projects/components/ProjectItem.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/projects/components/ProjectItem.js
--------------------------------------------------------------------------------
/advanced/src/features/projects/components/ProjectList.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/projects/components/ProjectList.js
--------------------------------------------------------------------------------
/advanced/src/features/projects/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/projects/index.js
--------------------------------------------------------------------------------
/advanced/src/features/projects/services/createProject.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/projects/services/createProject.js
--------------------------------------------------------------------------------
/advanced/src/features/projects/services/getProjects.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/projects/services/getProjects.js
--------------------------------------------------------------------------------
/advanced/src/features/settings/components/SettingsForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/settings/components/SettingsForm.js
--------------------------------------------------------------------------------
/advanced/src/features/settings/context/SettingsContext.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/settings/context/SettingsContext.js
--------------------------------------------------------------------------------
/advanced/src/features/settings/hooks/useSettings.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/settings/hooks/useSettings.js
--------------------------------------------------------------------------------
/advanced/src/features/settings/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/settings/index.js
--------------------------------------------------------------------------------
/advanced/src/features/settings/services/getSettings.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/settings/services/getSettings.js
--------------------------------------------------------------------------------
/advanced/src/features/settings/services/updateSettings.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/settings/services/updateSettings.js
--------------------------------------------------------------------------------
/advanced/src/features/todos/assets/image.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/assets/image.jpg
--------------------------------------------------------------------------------
/advanced/src/features/todos/components/NewTodoModal.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/components/NewTodoModal.js
--------------------------------------------------------------------------------
/advanced/src/features/todos/components/TodoForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/components/TodoForm.js
--------------------------------------------------------------------------------
/advanced/src/features/todos/components/TodoItem.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/components/TodoItem.js
--------------------------------------------------------------------------------
/advanced/src/features/todos/components/TodoList.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/components/TodoList.js
--------------------------------------------------------------------------------
/advanced/src/features/todos/context/TodoContext.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/context/TodoContext.js
--------------------------------------------------------------------------------
/advanced/src/features/todos/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/index.js
--------------------------------------------------------------------------------
/advanced/src/features/todos/services/deleteTodo.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/services/deleteTodo.js
--------------------------------------------------------------------------------
/advanced/src/features/todos/services/getTodos.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/services/getTodos.js
--------------------------------------------------------------------------------
/advanced/src/features/todos/services/updateTodo.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/features/todos/services/updateTodo.js
--------------------------------------------------------------------------------
/advanced/src/hooks/__tests__/useFetch.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/hooks/__tests__/useFetch.test.js
--------------------------------------------------------------------------------
/advanced/src/hooks/__tests__/useLocalStorage.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/hooks/__tests__/useLocalStorage.test.js
--------------------------------------------------------------------------------
/advanced/src/hooks/useFetch.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/hooks/useFetch.js
--------------------------------------------------------------------------------
/advanced/src/hooks/useLocalStorage.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/hooks/useLocalStorage.js
--------------------------------------------------------------------------------
/advanced/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom/client';
3 | import './index.css';
4 | import App from './App';
5 | import reportWebVitals from './reportWebVitals';
6 |
7 | const root = ReactDOM.createRoot(document.getElementById('root'));
8 | root.render(
9 |
10 |
11 |
12 | );
13 |
14 | // If you want to start measuring performance in your app, pass a function
15 | // to log results (for example: reportWebVitals(console.log))
16 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
17 | reportWebVitals();
18 |
--------------------------------------------------------------------------------
/advanced/src/layouts/Navbar.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/layouts/Navbar.js
--------------------------------------------------------------------------------
/advanced/src/layouts/PageContainer.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/layouts/PageContainer.js
--------------------------------------------------------------------------------
/advanced/src/layouts/Sidebar.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/layouts/Sidebar.js
--------------------------------------------------------------------------------
/advanced/src/lib/fetch.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/lib/fetch.js
--------------------------------------------------------------------------------
/advanced/src/pages/Home.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/pages/Home.js
--------------------------------------------------------------------------------
/advanced/src/pages/Login.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/pages/Login.js
--------------------------------------------------------------------------------
/advanced/src/pages/Projects.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/pages/Projects.js
--------------------------------------------------------------------------------
/advanced/src/pages/Settings.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/pages/Settings.js
--------------------------------------------------------------------------------
/advanced/src/pages/Signup.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/pages/Signup.js
--------------------------------------------------------------------------------
/advanced/src/reportWebVitals.js:
--------------------------------------------------------------------------------
1 | const reportWebVitals = onPerfEntry => {
2 | if (onPerfEntry && onPerfEntry instanceof Function) {
3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
4 | getCLS(onPerfEntry);
5 | getFID(onPerfEntry);
6 | getFCP(onPerfEntry);
7 | getLCP(onPerfEntry);
8 | getTTFB(onPerfEntry);
9 | });
10 | }
11 | };
12 |
13 | export default reportWebVitals;
14 |
--------------------------------------------------------------------------------
/advanced/src/services/analytics.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/services/analytics.js
--------------------------------------------------------------------------------
/advanced/src/setupTests.js:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import '@testing-library/jest-dom';
6 |
--------------------------------------------------------------------------------
/advanced/src/utils/__tests__/formatCurrency.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/utils/__tests__/formatCurrency.test.js
--------------------------------------------------------------------------------
/advanced/src/utils/__tests__/formatDate.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/utils/__tests__/formatDate.test.js
--------------------------------------------------------------------------------
/advanced/src/utils/formatCurrency.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/utils/formatCurrency.js
--------------------------------------------------------------------------------
/advanced/src/utils/formatDate.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/advanced/src/utils/formatDate.js
--------------------------------------------------------------------------------
/beginner/.gitignore:
--------------------------------------------------------------------------------
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.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
--------------------------------------------------------------------------------
/beginner/README.md:
--------------------------------------------------------------------------------
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 | ### `npm start`
10 |
11 | Runs the app in the development mode.\
12 | Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
13 |
14 | The page will reload when you make changes.\
15 | You may also see any lint errors in the console.
16 |
17 | ### `npm 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 | ### `npm run 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 | ### `npm run 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/).
47 |
48 | ### Code Splitting
49 |
50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51 |
52 | ### Analyzing the Bundle Size
53 |
54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55 |
56 | ### Making a Progressive Web App
57 |
58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59 |
60 | ### Advanced Configuration
61 |
62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63 |
64 | ### Deployment
65 |
66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67 |
68 | ### `npm run build` fails to minify
69 |
70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
71 |
--------------------------------------------------------------------------------
/beginner/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "beginner",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@testing-library/jest-dom": "^5.16.4",
7 | "@testing-library/react": "^13.3.0",
8 | "@testing-library/user-event": "^13.5.0",
9 | "react": "^18.2.0",
10 | "react-dom": "^18.2.0",
11 | "react-scripts": "5.0.1",
12 | "web-vitals": "^2.1.4"
13 | },
14 | "scripts": {
15 | "start": "react-scripts start",
16 | "build": "react-scripts build",
17 | "test": "react-scripts test",
18 | "eject": "react-scripts eject"
19 | },
20 | "eslintConfig": {
21 | "extends": [
22 | "react-app",
23 | "react-app/jest"
24 | ]
25 | },
26 | "browserslist": {
27 | "production": [
28 | ">0.2%",
29 | "not dead",
30 | "not op_mini all"
31 | ],
32 | "development": [
33 | "last 1 chrome version",
34 | "last 1 firefox version",
35 | "last 1 safari version"
36 | ]
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/beginner/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/public/favicon.ico
--------------------------------------------------------------------------------
/beginner/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
27 | React App
28 |
29 |
30 |
31 |
32 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/beginner/public/logo192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/public/logo192.png
--------------------------------------------------------------------------------
/beginner/public/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/public/logo512.png
--------------------------------------------------------------------------------
/beginner/public/manifest.json:
--------------------------------------------------------------------------------
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 | }
26 |
--------------------------------------------------------------------------------
/beginner/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/beginner/src/App.css:
--------------------------------------------------------------------------------
1 | .App {
2 | text-align: center;
3 | }
4 |
5 | .App-logo {
6 | height: 40vmin;
7 | pointer-events: none;
8 | }
9 |
10 | @media (prefers-reduced-motion: no-preference) {
11 | .App-logo {
12 | animation: App-logo-spin infinite 20s linear;
13 | }
14 | }
15 |
16 | .App-header {
17 | background-color: #282c34;
18 | min-height: 100vh;
19 | display: flex;
20 | flex-direction: column;
21 | align-items: center;
22 | justify-content: center;
23 | font-size: calc(10px + 2vmin);
24 | color: white;
25 | }
26 |
27 | .App-link {
28 | color: #61dafb;
29 | }
30 |
31 | @keyframes App-logo-spin {
32 | from {
33 | transform: rotate(0deg);
34 | }
35 | to {
36 | transform: rotate(360deg);
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/beginner/src/App.js:
--------------------------------------------------------------------------------
1 | import logo from './logo.svg';
2 | import './App.css';
3 |
4 | function App() {
5 | return (
6 |
22 | );
23 | }
24 |
25 | export default App;
26 |
--------------------------------------------------------------------------------
/beginner/src/App.test.js:
--------------------------------------------------------------------------------
1 | import { render, screen } from '@testing-library/react';
2 | import App from './App';
3 |
4 | test('renders learn react link', () => {
5 | render();
6 | const linkElement = screen.getByText(/learn react/i);
7 | expect(linkElement).toBeInTheDocument();
8 | });
9 |
--------------------------------------------------------------------------------
/beginner/src/TodoContext.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/TodoContext.js
--------------------------------------------------------------------------------
/beginner/src/__tests__/components/Button.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/__tests__/components/Button.test.js
--------------------------------------------------------------------------------
/beginner/src/__tests__/hooks/useLocalStorage.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/__tests__/hooks/useLocalStorage.test.js
--------------------------------------------------------------------------------
/beginner/src/components/Button.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/Button.js
--------------------------------------------------------------------------------
/beginner/src/components/ButtonGroup.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/ButtonGroup.js
--------------------------------------------------------------------------------
/beginner/src/components/Checkbox.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/Checkbox.js
--------------------------------------------------------------------------------
/beginner/src/components/Dropdown.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/Dropdown.js
--------------------------------------------------------------------------------
/beginner/src/components/FormInput.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/FormInput.js
--------------------------------------------------------------------------------
/beginner/src/components/FormSelect.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/FormSelect.js
--------------------------------------------------------------------------------
/beginner/src/components/Home.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/Home.js
--------------------------------------------------------------------------------
/beginner/src/components/Modal.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/Modal.js
--------------------------------------------------------------------------------
/beginner/src/components/Navbar.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/Navbar.js
--------------------------------------------------------------------------------
/beginner/src/components/NewTodoModal.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/NewTodoModal.js
--------------------------------------------------------------------------------
/beginner/src/components/RadioButton.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/RadioButton.js
--------------------------------------------------------------------------------
/beginner/src/components/TodoForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/TodoForm.js
--------------------------------------------------------------------------------
/beginner/src/components/TodoItem.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/TodoItem.js
--------------------------------------------------------------------------------
/beginner/src/components/TodoList.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/components/TodoList.js
--------------------------------------------------------------------------------
/beginner/src/formatCurrency.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/formatCurrency.js
--------------------------------------------------------------------------------
/beginner/src/formatDate.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/formatDate.js
--------------------------------------------------------------------------------
/beginner/src/hooks/useFetch.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/hooks/useFetch.js
--------------------------------------------------------------------------------
/beginner/src/hooks/useLocalStorage.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/beginner/src/hooks/useLocalStorage.js
--------------------------------------------------------------------------------
/beginner/src/index.css:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------
/beginner/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom/client';
3 | import './index.css';
4 | import App from './App';
5 | import reportWebVitals from './reportWebVitals';
6 |
7 | const root = ReactDOM.createRoot(document.getElementById('root'));
8 | root.render(
9 |
10 |
11 |
12 | );
13 |
14 | // If you want to start measuring performance in your app, pass a function
15 | // to log results (for example: reportWebVitals(console.log))
16 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
17 | reportWebVitals();
18 |
--------------------------------------------------------------------------------
/beginner/src/logo.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/beginner/src/reportWebVitals.js:
--------------------------------------------------------------------------------
1 | const reportWebVitals = onPerfEntry => {
2 | if (onPerfEntry && onPerfEntry instanceof Function) {
3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
4 | getCLS(onPerfEntry);
5 | getFID(onPerfEntry);
6 | getFCP(onPerfEntry);
7 | getLCP(onPerfEntry);
8 | getTTFB(onPerfEntry);
9 | });
10 | }
11 | };
12 |
13 | export default reportWebVitals;
14 |
--------------------------------------------------------------------------------
/beginner/src/setupTests.js:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import '@testing-library/jest-dom';
6 |
--------------------------------------------------------------------------------
/intermediate/.gitignore:
--------------------------------------------------------------------------------
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.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
--------------------------------------------------------------------------------
/intermediate/README.md:
--------------------------------------------------------------------------------
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 | ### `npm start`
10 |
11 | Runs the app in the development mode.\
12 | Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
13 |
14 | The page will reload when you make changes.\
15 | You may also see any lint errors in the console.
16 |
17 | ### `npm 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 | ### `npm run 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 | ### `npm run 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/).
47 |
48 | ### Code Splitting
49 |
50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51 |
52 | ### Analyzing the Bundle Size
53 |
54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55 |
56 | ### Making a Progressive Web App
57 |
58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59 |
60 | ### Advanced Configuration
61 |
62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63 |
64 | ### Deployment
65 |
66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67 |
68 | ### `npm run build` fails to minify
69 |
70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
71 |
--------------------------------------------------------------------------------
/intermediate/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "intermediate",
3 | "version": "0.1.0",
4 | "private": true,
5 | "dependencies": {
6 | "@testing-library/jest-dom": "^5.16.4",
7 | "@testing-library/react": "^13.3.0",
8 | "@testing-library/user-event": "^13.5.0",
9 | "react": "^18.2.0",
10 | "react-dom": "^18.2.0",
11 | "react-scripts": "5.0.1",
12 | "web-vitals": "^2.1.4"
13 | },
14 | "scripts": {
15 | "start": "react-scripts start",
16 | "build": "react-scripts build",
17 | "test": "react-scripts test",
18 | "eject": "react-scripts eject"
19 | },
20 | "eslintConfig": {
21 | "extends": [
22 | "react-app",
23 | "react-app/jest"
24 | ]
25 | },
26 | "browserslist": {
27 | "production": [
28 | ">0.2%",
29 | "not dead",
30 | "not op_mini all"
31 | ],
32 | "development": [
33 | "last 1 chrome version",
34 | "last 1 firefox version",
35 | "last 1 safari version"
36 | ]
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/intermediate/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/public/favicon.ico
--------------------------------------------------------------------------------
/intermediate/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
17 |
18 |
27 | React App
28 |
29 |
30 |
31 |
32 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/intermediate/public/logo192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/public/logo192.png
--------------------------------------------------------------------------------
/intermediate/public/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/public/logo512.png
--------------------------------------------------------------------------------
/intermediate/public/manifest.json:
--------------------------------------------------------------------------------
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 | }
26 |
--------------------------------------------------------------------------------
/intermediate/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/intermediate/src/App.js:
--------------------------------------------------------------------------------
1 | import logo from './logo.svg';
2 | import './App.css';
3 |
4 | function App() {
5 | return (
6 |
22 | );
23 | }
24 |
25 | export default App;
26 |
--------------------------------------------------------------------------------
/intermediate/src/App.test.js:
--------------------------------------------------------------------------------
1 | import { render, screen } from '@testing-library/react';
2 | import App from './App';
3 |
4 | test('renders learn react link', () => {
5 | render();
6 | const linkElement = screen.getByText(/learn react/i);
7 | expect(linkElement).toBeInTheDocument();
8 | });
9 |
--------------------------------------------------------------------------------
/intermediate/src/assets/global.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/assets/global.css
--------------------------------------------------------------------------------
/intermediate/src/assets/logo.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/intermediate/src/components/Navbar.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/components/Navbar.js
--------------------------------------------------------------------------------
/intermediate/src/components/form/Checkbox.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/components/form/Checkbox.js
--------------------------------------------------------------------------------
/intermediate/src/components/form/FormInput.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/components/form/FormInput.js
--------------------------------------------------------------------------------
/intermediate/src/components/form/FormSelect.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/components/form/FormSelect.js
--------------------------------------------------------------------------------
/intermediate/src/components/form/RadioButton.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/components/form/RadioButton.js
--------------------------------------------------------------------------------
/intermediate/src/components/ui/Button.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/components/ui/Button.js
--------------------------------------------------------------------------------
/intermediate/src/components/ui/ButtonGroup.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/components/ui/ButtonGroup.js
--------------------------------------------------------------------------------
/intermediate/src/components/ui/Dropdown.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/components/ui/Dropdown.js
--------------------------------------------------------------------------------
/intermediate/src/components/ui/Modal.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/components/ui/Modal.js
--------------------------------------------------------------------------------
/intermediate/src/context/AuthContext.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/context/AuthContext.js
--------------------------------------------------------------------------------
/intermediate/src/context/__tests__/AuthContext.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/context/__tests__/AuthContext.js
--------------------------------------------------------------------------------
/intermediate/src/data/configValues.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/data/configValues.json
--------------------------------------------------------------------------------
/intermediate/src/data/constants.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/data/constants.js
--------------------------------------------------------------------------------
/intermediate/src/data/defaultTodos.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/data/defaultTodos.json
--------------------------------------------------------------------------------
/intermediate/src/hooks/__tests__/useFetch.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/hooks/__tests__/useFetch.test.js
--------------------------------------------------------------------------------
/intermediate/src/hooks/__tests__/useLocalStorage.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/hooks/__tests__/useLocalStorage.test.js
--------------------------------------------------------------------------------
/intermediate/src/hooks/useFetch.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/hooks/useFetch.js
--------------------------------------------------------------------------------
/intermediate/src/hooks/useLocalStorage.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/hooks/useLocalStorage.js
--------------------------------------------------------------------------------
/intermediate/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom/client';
3 | import './index.css';
4 | import App from './App';
5 | import reportWebVitals from './reportWebVitals';
6 |
7 | const root = ReactDOM.createRoot(document.getElementById('root'));
8 | root.render(
9 |
10 |
11 |
12 | );
13 |
14 | // If you want to start measuring performance in your app, pass a function
15 | // to log results (for example: reportWebVitals(console.log))
16 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
17 | reportWebVitals();
18 |
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/NewTodoModal.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/NewTodoModal.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/TodoContext.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/TodoContext.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/TodoForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/TodoForm.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/TodoItem.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/TodoItem.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/TodoList.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/TodoList.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/__tests__/NewTodoModal.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/__tests__/NewTodoModal.test.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/__tests__/TodoContext.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/__tests__/TodoContext.test.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/__tests__/TodoForm.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/__tests__/TodoForm.test.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/__tests__/TodoItem.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/__tests__/TodoItem.test.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/__tests__/TodoList.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/__tests__/TodoList.test.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/__tests__/index.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/__tests__/index.test.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Home/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Home/index.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Login/LoginForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Login/LoginForm.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Login/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Login/index.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Login/useLogin.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Login/useLogin.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Settings/SettingsContext.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Settings/SettingsContext.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Settings/SettingsForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Settings/SettingsForm.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Settings/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Settings/index.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Settings/useSettings.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Settings/useSettings.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Signup/SignupForm.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Signup/SignupForm.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Signup/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Signup/index.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Signup/useSignup.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Signup/useSignup.js
--------------------------------------------------------------------------------
/intermediate/src/pages/Signup/useVerifyPassword.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/pages/Signup/useVerifyPassword.js
--------------------------------------------------------------------------------
/intermediate/src/reportWebVitals.js:
--------------------------------------------------------------------------------
1 | const reportWebVitals = onPerfEntry => {
2 | if (onPerfEntry && onPerfEntry instanceof Function) {
3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
4 | getCLS(onPerfEntry);
5 | getFID(onPerfEntry);
6 | getFCP(onPerfEntry);
7 | getLCP(onPerfEntry);
8 | getTTFB(onPerfEntry);
9 | });
10 | }
11 | };
12 |
13 | export default reportWebVitals;
14 |
--------------------------------------------------------------------------------
/intermediate/src/setupTests.js:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import '@testing-library/jest-dom';
6 |
--------------------------------------------------------------------------------
/intermediate/src/utils/__tests__/formatCurrency.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/utils/__tests__/formatCurrency.test.js
--------------------------------------------------------------------------------
/intermediate/src/utils/__tests__/formatDate.test.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/utils/__tests__/formatDate.test.js
--------------------------------------------------------------------------------
/intermediate/src/utils/formatCurrency.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/utils/formatCurrency.js
--------------------------------------------------------------------------------
/intermediate/src/utils/formatDate.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WebDevSimplified/react-folder-structure/f8fd5611aa4440ca65e05b7cecf109fcb1979bf4/intermediate/src/utils/formatDate.js
--------------------------------------------------------------------------------