diff --git a/web/README.md b/web/README.md index fe12b6c09..d8d06fc25 100644 --- a/web/README.md +++ b/web/README.md @@ -1,46 +1,30 @@ # Getting started -## Recommended software: +## Required software -- Node 8.12.0 or later (https://nodejs.org/en/) -- VSCode (https://code.visualstudio.com/), or other IDE with typescript support (like WebStorm) -- yarn package manager (https://yarnpkg.com/en/) -- Any GIT client (standalone, or embedded into your IDE) +- `node` 8.12.0 or higher (https://nodejs.org/en/) +- `yarn` package manager (https://yarnpkg.com/en/). + - Please note that `npm` is not applicable for installing or building the application. -## Running the project with template - -Clone the repository. - -To install react app use: - -``` -npm install -g create-react-app -``` - -To build and then start the project use: +## Install ``` +git clone git@github.com:epam/badgerdoc.git +cd badgerdoc/web yarn -yarn start ``` -Then open your browser on http://localhost:3000/ - ## Available Scripts -In the project directory, you can run: - ### `yarn start` Runs the app in the development mode.\ Open [http://localhost:3000](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. - ### `yarn test` -Launches the test runner in the interactive watch mode.\ +Launches the test runner in the interactive watch mode. + See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. ### `yarn build` @@ -48,90 +32,9 @@ See the section about [running tests](https://facebook.github.io/create-react-ap 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](https://facebook.github.io/create-react-app/docs/deployment) for more information. -# Build configuration - -## CSS/SCSS Modules - -We build styles using SCSS in combination with CSS modules. - -If you have the following MyComponent.module.scss file: - -``` -.my-header { - color: red; -} -``` - -You can import and use selectors from it from your tsx file: - -``` -import * as React from 'react'; -import * as css from './MainPage.module.scss'; - -export const MyComponent =
-
## Local Development
To work in local environment you need to start up the **_local backend_** and configure env variables for correct connection.
For that you need to copy content of `.env.example` file to `.env.local` and specify provided variables.
-
-## Test
-Libraries for testing:
-- React testing library
-- Jest
\ No newline at end of file
diff --git a/web/docs/structure.png b/web/docs/structure.png
deleted file mode 100644
index b0ac884d3..000000000
Binary files a/web/docs/structure.png and /dev/null differ