Skip to content

Commit 7f04c28

Browse files
committed
init structure
1 parent cb52c6b commit 7f04c28

20 files changed

+29121
-5
lines changed

.gitignore

Lines changed: 84 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/node,react,visualstudiocode
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=node,react,visualstudiocode
3+
4+
### Node ###
15
# Logs
26
logs
37
*.log
48
npm-debug.log*
59
yarn-debug.log*
610
yarn-error.log*
711
lerna-debug.log*
12+
.pnpm-debug.log*
813

914
# Diagnostic reports (https://nodejs.org/api/report.html)
1015
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -41,8 +46,8 @@ build/Release
4146
node_modules/
4247
jspm_packages/
4348

44-
# TypeScript v1 declaration files
45-
typings/
49+
# Snowpack dependency directory (https://snowpack.dev/)
50+
web_modules/
4651

4752
# TypeScript cache
4853
*.tsbuildinfo
@@ -53,6 +58,9 @@ typings/
5358
# Optional eslint cache
5459
.eslintcache
5560

61+
# Optional stylelint cache
62+
.stylelintcache
63+
5664
# Microbundle cache
5765
.rpt2_cache/
5866
.rts2_cache_cjs/
@@ -68,29 +76,40 @@ typings/
6876
# Yarn Integrity file
6977
.yarn-integrity
7078

71-
# dotenv environment variables file
79+
# dotenv environment variable files
7280
.env
73-
.env.test
81+
.env.development.local
82+
.env.test.local
83+
.env.production.local
84+
.env.local
7485

7586
# parcel-bundler cache (https://parceljs.org/)
7687
.cache
88+
.parcel-cache
7789

7890
# Next.js build output
7991
.next
92+
out
8093

8194
# Nuxt.js build / generate output
8295
.nuxt
8396
dist
8497

8598
# Gatsby files
8699
.cache/
87-
# Comment in the public line in if your project uses Gatsby and *not* Next.js
100+
# Comment in the public line in if your project uses Gatsby and not Next.js
88101
# https://nextjs.org/blog/next-9-1#public-directory-support
89102
# public
90103

91104
# vuepress build output
92105
.vuepress/dist
93106

107+
# vuepress v2.x temp and cache directory
108+
.temp
109+
110+
# Docusaurus cache and generated files
111+
.docusaurus
112+
94113
# Serverless directories
95114
.serverless/
96115

@@ -102,3 +121,63 @@ dist
102121

103122
# TernJS port file
104123
.tern-port
124+
125+
# Stores VSCode versions used for testing VSCode extensions
126+
.vscode-test
127+
128+
# yarn v2
129+
.yarn/cache
130+
.yarn/unplugged
131+
.yarn/build-state.yml
132+
.yarn/install-state.gz
133+
.pnp.*
134+
135+
### Node Patch ###
136+
# Serverless Webpack directories
137+
.webpack/
138+
139+
# Optional stylelint cache
140+
141+
# SvelteKit build / generate output
142+
.svelte-kit
143+
144+
### react ###
145+
.DS_*
146+
**/*.backup.*
147+
**/*.back.*
148+
149+
node_modules
150+
151+
*.sublime*
152+
153+
psd
154+
thumb
155+
sketch
156+
157+
### VisualStudioCode ###
158+
.vscode/*
159+
!.vscode/settings.json
160+
!.vscode/tasks.json
161+
!.vscode/launch.json
162+
!.vscode/extensions.json
163+
!.vscode/*.code-snippets
164+
165+
# Local History for Visual Studio Code
166+
.history/
167+
168+
# Built Visual Studio Code Extensions
169+
*.vsix
170+
171+
### VisualStudioCode Patch ###
172+
# Ignore all local history of files
173+
.history
174+
.ionide
175+
176+
# Support for Project snippet scope
177+
.vscode/*.code-snippets
178+
.vscode/*
179+
180+
# Ignore code-workspaces
181+
*.code-workspace
182+
183+
# End of https://www.toptal.com/developers/gitignore/api/node,react,visualstudiocode

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# react-presentational-components
2+
23
API mocked with https://miragejs.com/

frontend/.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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*

frontend/README.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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)

0 commit comments

Comments
 (0)