Loading repository dataβ¦
Loading repository dataβ¦
alikadir / repository
π¬ React Coding Challenge, Using React, AntDesign, ReactRouter, MockServiceWorker, Figma, Jest and Test-Driven Development Approach
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
LIVE - https://alikadir-demo.vercel.app
React Coding Challenge - https://github.com/StreamCo/react-coding-challenge
$ git clone https://github.com/alikadir/javascript-demo-streaming-app.git
$ cd javascript-demo-streaming-app
$ npm install
$ npm start


Firstly, I'm a design-obsessive person, so it must be a nice design π€
I've designed this project at first on Figma.
I've decided that which components will be when I designed on Figma, That was important.

And then,
I've created a react project via Create-React-App and cleaned all of the unnecessary files and folders in the project. I created a folder structure according to the component structure in the design.
.
ββ src
βββ assets
β βββ store
βββ components
β βββ app
β βββ auth
β βββ common
β βββ layout
β βββ page
βββ constants
βββ services
βββ styles
β βββ auth
β βββ common
β βββ layout
β βββ page
βββ tests
βββ component
β βββ app
β βββ page
βββ service
And then,
I've created all components as primitive and I created a project layout structure also using react-router package.
We've come to an exciting point. to write Test,
I've written the test using the TDD approach. I've written the content service layer test then write the service layer. Also, I've used Mock Service Worker for testing api communication.
Especially It was fun to code in the Test Watching Mode π
You can run the test with the following code,
$ npm test
Finally, I've perfected the project design by writing CSS and using Ant Design



Ant Design has a lot of components that have a nice design and easily customizable. With these components, we can rapidly develop an enterprise-level application.
Yes, if I have more time, I would make improvements to the following topics,
Also I would spend time for,
That's all, Thank You.