This repository provides with the structure used to build Chat With Me.
This repository highlights my personalities. You can ask the questions and I'll respond you with my answers.
- Clone this repository
- Install node_modules
- Run yarn start
I am always open to your feedback.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Lints your project according to your .eslintconfig
Serve the code in the build
folder to your local server
Deploy the code to the Github Pages
By default, the generated project uses the latest version of React.
You can refer to the React documentation for more information about supported browsers.
To configure the syntax highlighting in your favorite text editor, head to the relevant Babel documentation page and follow the instructions. Some of the most popular editors are covered.
Flow is a static type checker that helps you write code with fewer bugs. Check out this introduction to using static types in JavaScript if you are new to this concept.
Recent versions of Flow work with Create React App projects out of the box.
To add Flow to a Create React App project, follow these steps:
- Run
npm install --save flow-bin
(oryarn add flow-bin
). - Add
"flow": "flow"
to thescripts
section of yourpackage.json
. - Run
npm run flow init
(oryarn flow init
) to create a.flowconfig
file in the root directory. - Add
// @flow
to any files you want to type check (for example, tosrc/App.js
).
Now you can run npm run flow
(or yarn flow
) to check the files for type errors.
You can optionally use an IDE like Nuclide for a better integrated experience.
In the future we plan to integrate it into Create React App even more closely.
To learn more about Flow, check out its documentation.