https://github.com/jan-milenkov/ReactTask
Simple React app with Catalog and search functionality, fully responsive and animated ( please view at 50% zoom)
https://github.com/jan-milenkov/ReactTask
animation-css pure-css react responsive-web-design vite
Last synced: 6 days ago
JSON representation
Simple React app with Catalog and search functionality, fully responsive and animated ( please view at 50% zoom)
- Host: GitHub
- URL: https://github.com/jan-milenkov/ReactTask
- Owner: instamenta
- Created: 2023-03-17T12:21:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-22T11:20:43.000Z (over 3 years ago)
- Last Synced: 2025-01-05T12:42:24.121Z (over 1 year ago)
- Topics: animation-css, pure-css, react, responsive-web-design, vite
- Language: JavaScript
- Homepage: https://releva-interview-react-task.onrender.com/
- Size: 1.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ReactTask
## Please view at 50% zoom
This is a simple support desk app built using React and Vite. The app allows users to search for support staff and view their availability status.
## ASCII art representation of the architecture of the React app
```
┌─────────┐ ┌─────────┐
│ index │ │ App │
│ .html ├──┐ ┌─►├─────────┤
└─────────┘ │ │ │Catalog │
│ │ ├─────────┤
│ │ │ APIs │
│ │ └─────────┘
│ │
│ │ ┌─────────┐
├──┼─►│ CSS │
│ │ └─────────┘
│ │
│ │ ┌─────────┐
└──┴─►│ JSON │
│ └─────────┘
│
│ ┌─────────┐
└──►│ SVGs │
└─────────┘
```
## App Architecture
```
ReactTask/
├── node_modules/
├── public/
│ ├── favicon.ico
│ ├── index.html
│ ├── icon-available.svg
│ ├── icon-busy.svg
│ └── icon-search.svg
├── src/
│ ├── api.json
│ ├── __mocks__/
│ │ ├── fileMock.js
│ │ └── styleMock.js
│ ├── __tests__/
│ │ └── App.test.jsx
│ ├── components/
│ │ └── Catalog/
│ │ ├── Catalog.css
│ │ ├── Catalog.jsx
│ │ └── Catalog.test.jsx
│ ├── App.css
│ ├── App.jsx
│ ├── main.jsx
│ ├── setupTests.js
│ └── index.css
├── babel.config.js
├── index.html
├── jest.config.cjs
├── jest.setup.js
├── vite.config.js
├── .gitignore
├── package-lock.json
└── package.json
```
## App Preview:

## Usage
To use the app, you need to have Node.js and npm installed on your system. Once you have those installed, follow the steps below:
Clone the repository
```
git clone https://github.com/instamenta/ReactTask.git
```
Install the dependencies
```
cd react-app
```
```
npm install
```
Start the development server
```
npm run dev
```
Run tests
```
npm run test
```
### Basic Explanation
* (read the comments to clarify)
#### App
The App component is responsible for rendering the main layout of the app.
It consists of a navigation bar and a Catalog component that displays the support staff list.
#### Catalog
The Catalog component is responsible for displaying the support staff list.
It receives a props object that contains the search string entered by the user.
It then filters the userDataArray based on the search string and displays the filtered results.
## Technologies Used
The app was built using the following technologies:
* React - A JavaScript library for building user interfaces
* Vite - A build tool that provides fast development server and optimized build
* CSS - A style sheet language used for describing the presentation of a document
### Acknowledgements
This app was built as part of a technical task for Instamenta.