This project showcases a File Explorer & Editor developed using React, adhering to the principles of clean architecture. By employing a layered code structure, the application becomes more manageable and facilitates effective testing. Leveraging Redux Toolkit for state management enhances performance and simplifies implementation. This example serves as a valuable reference for structuring React applications in accordance with Clean Architecture principles, empowering developers to build robust and scalable software solutions.
- Create New Folder and File
- Monaco Editor Supported
- Download File
- Lexical Editor Supported
- Excalidraw Whiteboard Supported
- Download Folder
- Export File to PDF
- Export Folder to PDF
- Open Local File
- Open Local Folder
- ReactJS
- Redux Toolkit
- TypeScript
- Sass
- Ant Design
Clone the project
git clone https://github.com/jhasuraj01/filepad.git
Go to the project directory
cd filepad
Install dependencies
npm install
Start the server
npm run start
The directory structure of the project is organized according to the principles of clean architecture. The project is divided into four main layers:
This layer is responsible for rendering the user interface and handling user interactions. It consists of the presentation directory and its subdirectories.
This layer contains the business logic of the application. It consists of the domain directory and its subdirectories.
This layer provides the implementation details for the abstractions defined in the domain layer. It consists of the infrastructure directory and its subdirectories.
This layer provides the interfaces between the application and external systems. It consists of the adapters directory and its subdirectories.
- OpenAI ChatGPT
- Clean Architerture
- How to implement Clean Architecture in Node.js (and why it's important)
- Using Clean Architecture for Microservice APIs in Node.js with MongoDB and Express
- 4Dev React - Enquetes para Programadores
- Clean Architecture: Applying with React
This project is an example of how to structure a React application following the Clean Architecture principles. By separating the code into different layers, it becomes easier to maintain and test the application. The use of Redux Toolkit simplifies the implementation of state management and improves the performance of the application.