Development Guide
This guide provides information for developers working on the AREA Client Web project.
Project Structure
src: Contains the main source code for the application.
Components: Reusable UI components.
Pages: Different pages of the application.
Context: Context providers for global state management.
Config: Configuration files for API endpoints and OAuth settings.
Key Components
App.tsx: The main entry point of the application.
Layout: Manages the layout of the application, including the header and footer.
OAuthButtons: Handles OAuth authentication with various providers.
GenericCallback.tsx: Manages the OAuth callback process, handling the exchange of authorization codes for access tokens.
Running the Application
To run the application in development mode:
npm run dev
Building for Production
To build the application for production:
npm run build