https://github.com/thebstar/search-screen
React app
https://github.com/thebstar/search-screen
bem css debounce javascript project react
Last synced: about 2 months ago
JSON representation
React app
- Host: GitHub
- URL: https://github.com/thebstar/search-screen
- Owner: theBstar
- Created: 2020-09-06T19:57:08.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-28T19:11:29.000Z (about 5 years ago)
- Last Synced: 2025-05-14T08:13:16.597Z (about 1 year ago)
- Topics: bem, css, debounce, javascript, project, react
- Language: SCSS
- Homepage:
- Size: 268 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## [Production url](https://agile-wave-45898.herokuapp.com/)
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
This project supports all of the CRA commands, some of those mentioned at bottom.
## About the Project:
* Task was to develop an application where user can search for a doctor.
* The API doesn't provide any avatar, so I am showing a placeholder, also I am mocking out the user-name on the front-end.
* All the common reusable components are in components folder
* styles folder includes general theme, reset and some global settings. I thought of structuring css with BEM but It would have been more work for me. I went ahead with a hybrid of BEM, SMACSS and atomic architecture.
* Debounced search field input, otherwise we would end up hitting our server too many times wihtout any benifit to the user.
* Building it with any design system would have been a lot easier, Material-ui is very close to the design.
* Tried to replicate the design, focused on the re-usability and extensibility.
* Spent around 7-8 hours time, some of it went into css re-structuring.
* I would really appreciate any feedback.
## 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.
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `yarn build`
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.