Skip to content

Commit 333ad44

Browse files
authored
Merge pull request #1 from codebuddies/setup-cra
Setup CRA
2 parents da71eff + e0599f1 commit 333ad44

File tree

17 files changed

+13580
-3
lines changed

17 files changed

+13580
-3
lines changed

.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*

README.md

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# react-concept
2-
Frontend proof of concept of CodeBuddies v3 using React.
2+
Frontend proof of concept of CodeBuddies v3 using React.
33

44
For Backend proof of concepts, see:
55
+ [Django](https://github.com/codebuddies/django-concept)
@@ -8,9 +8,9 @@ For Backend proof of concepts, see:
88
+ [Go](https://github.com/codebuddies/go-concept)
99

1010
## Design
11-
View proof of concept designs over at [Figma](https://www.figma.com/file/wXMeX9xgYTcVKNJ1XT9ZQ5/cbv3poc?node-id=0%3A1). Note that the design are only meant to serve as a guide and the output does not need to be pixel perfect based on the designs linked here. Instead, use [Material-UI](https://material-ui.com/) components as a starting point and extend as needed.
11+
View proof of concept designs over at [Figma](https://www.figma.com/file/wXMeX9xgYTcVKNJ1XT9ZQ5/cbv3poc?node-id=0%3A1). Note that the design are only meant to serve as a guide and the output does not need to be pixel perfect based on the designs linked here. Instead, use [Material-UI](https://material-ui.com/) components as a starting point and extend as needed.
1212

13-
The PoC for the frontend will revolve around querying and posting the Resource model based on the defined [API spec](https://app.swaggerhub.com/apis-docs/billglover/CodeBuddies/0.0.1).
13+
The PoC for the frontend will revolve around querying and posting the Resource model based on the defined [API spec](https://app.swaggerhub.com/apis-docs/billglover/CodeBuddies/0.0.1).
1414

1515
## Pages
1616
**Index**
@@ -27,3 +27,74 @@ The Resources page displays a search form. From this page, a user can search for
2727
+ Testing frameworks (Jest or Mocha)
2828
+ UI Framework - is it easily extendable and manageable?
2929
+ Any cons?
30+
31+
# CRA Notes
32+
33+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
34+
35+
## Available Scripts
36+
37+
In the project directory, you can run:
38+
39+
### `npm start`
40+
41+
Runs the app in the development mode.<br />
42+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
43+
44+
The page will reload if you make edits.<br />
45+
You will also see any lint errors in the console.
46+
47+
### `npm test`
48+
49+
Launches the test runner in the interactive watch mode.<br />
50+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
51+
52+
### `npm run build`
53+
54+
Builds the app for production to the `build` folder.<br />
55+
It correctly bundles React in production mode and optimizes the build for the best performance.
56+
57+
The build is minified and the filenames include the hashes.<br />
58+
Your app is ready to be deployed!
59+
60+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
61+
62+
### `npm run eject`
63+
64+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
65+
66+
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.
67+
68+
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.
69+
70+
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.
71+
72+
## Learn More
73+
74+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
75+
76+
To learn React, check out the [React documentation](https://reactjs.org/).
77+
78+
### Code Splitting
79+
80+
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
81+
82+
### Analyzing the Bundle Size
83+
84+
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
85+
86+
### Making a Progressive Web App
87+
88+
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
89+
90+
### Advanced Configuration
91+
92+
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
93+
94+
### Deployment
95+
96+
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
97+
98+
### `npm run build` fails to minify
99+
100+
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

0 commit comments

Comments
 (0)