Skip to content

ExploreLabsxyz/agentscan

Repository files navigation

AgentScan Frontend

A modern Next.js application built with TypeScript and Tailwind CSS, designed to provide a robust and scalable web application experience.

🚀 Features

  • Modern Tech Stack

    • Next.js 14 with App Router
    • TypeScript for type safety
    • Tailwind CSS for styling
    • ESLint for code quality
    • PostCSS for CSS processing
  • Developer Experience

    • Hot reload
    • Type checking
    • Code formatting
    • Environment variable management
    • Component-driven development

📋 Prerequisites

  • Node.js 18.x or later
  • npm or yarn or pnpm or bun

🛠️ Installation

  1. Clone the repository:

    git clone git@github.com:ExploreLabsxyz/agentscan.git
    cd agentscan
  2. Clone the backend repository:

    git clone git@github.com:ExploreLabsxyz/agentscan-express.git
    cd agentscan-express
  3. Install dependencies:

    npm install
    
  4. Set up environment variables:

    cp .env.example .env.local

    Then edit .env.local with your configuration values.

🚀 Development

Start the development server:

npm run dev

Visit http://localhost:3000 to see your application.

📁 Project Structure

agentscan/
├── src/               # Source files
├── public/            # Static assets
├── components/        # Reusable components
├── .next/            # Next.js build output
├── node_modules/     # Dependencies
├── .env.example      # Example environment variables
├── .env.local        # Local environment variables
├── .eslintrc.json    # ESLint configuration
├── next.config.ts    # Next.js configuration
├── tailwind.config.ts # Tailwind CSS configuration
├── tsconfig.json     # TypeScript configuration
└── package.json      # Project metadata and dependencies

🔧 Configuration

  • TypeScript: Configured in tsconfig.json
  • Tailwind CSS: Customized in tailwind.config.ts
  • ESLint: Rules defined in .eslintrc.json
  • Next.js: Settings in next.config.ts

🚀 Deployment

The application can be deployed using Vercel:

  1. Push your code to a Git repository
  2. Import your project to Vercel
  3. Configure environment variables
  4. Deploy!

For other deployment options, refer to the Next.js deployment documentation.

📝 Code Conventions

  • Components: Use PascalCase (e.g., UserProfile.tsx)
  • Directories: Use kebab-case (e.g., user-profile/)
  • Functions: Use camelCase (e.g., handleSubmit)
  • Files: Group by feature/module
  • Styling: Use Tailwind CSS classes and custom utilities

License

This project is licensed under the MIT License - see the LICENSE file for details.