Basher is a forum-based web application where all users are anonymous. This project is built using React and TypeScript, following specific naming conventions for different types of files. It uses Tailwind CSS for styling and Apollo for HTTP client requests.
The project is organized into several directories, each serving a specific purpose:
- components/: Contains reusable UI components.
- pages/: Contains the main pages of the application.
- features/: Contains specific features that only applies to that page, each with its own components, utils, services, and pages.
- utils/: Contains utility functions used across the application.
- services/: Contains service functions for API calls and other business logic.
- Components, Pages, Services: Use PascalCase (e.g.,
UserProfile
,HomePage
,AuthService
). - Utilities: Use camelCase (e.g.,
formatDate
,calculateAge
).
- Clone the repository:
git clone https://github.com/DestinEcarma/basher-frontend.git basher
cd basher
- Install dependencies:
npm install
- Run the development server:
npm run dev