This project is developed as part of the Dotidot home task and web application built using a feature-based architecture.
- Introduction
- Tech Stack
- Project Structure
- Architecture
- Setup and Installation
- Environment Variables
- Usage
This project utilizes the following technologies:
- React: A JavaScript library for building user interfaces.
- React Router Dom: For handling routing within the application.
- TypeScript: A strongly typed programming language that builds on JavaScript.
- React Query: A library for managing server state in React applications.
- Axios: A promise-based HTTP client for making HTTP requests.
- Vite: A modern, fast frontend build tool.
- ESLint: A tool for identifying and reporting on patterns in JavaScript.
The project is structured with import aliases, configured in both Vite config and tsconfig.json
, for cleaner and more maintainable import statements.
The application adopts a feature-based architecture, organizing code by feature for modularity and scalability. Each feature encapsulates its logic, components, services, and types, fostering a clear separation of concerns.
Follow these steps to set up the project locally:
- Clone the repository:
git clone https://github.com/DevAbas/dotidot-home-task.git
- Navigate to the project directory:
cd dotidot-home-task
- Install dependencies using Yarn:
yarn
- Start the development server:
yarn dev
Set up the required environment variables in your local environment. Create a .env file in your local first and then add a value for VITE_API_BASE_URL
After starting the project, access it via http://localhost:3000 in your browser.