8000 GitHub - bezata/aicity-front
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bezata/aicity-front

Repository files navigation

AI City Frontend

A modern web application for managing and interacting with AI-powered city departments and services.

Overview

AI City Frontend is a Next.js-based web application that provides an interface for citizens to interact with various AI-powered city departments. The platform features real-time department monitoring, emergency alerts, chat functionality, and a donation system using blockchain technology.

Features

  • Department Overview

    • Real-time department status monitoring
    • Emergency alerts with visual indicators
    • Interactive session management
    • Department activity metrics
  • Chat System

    • Department-spe 7FF2 cific chat rooms
    • Emergency meeting notifications
    • Agent interaction capabilities
    • Message history tracking
  • Blockchain Integration

    • Secure wallet connection
    • Department donation system
    • Transaction tracking
    • SOL token support
  • CCTV Monitoring

    • Live feed observations
    • Activity logging
    • Real-time updates
    • Incident tracking

Tech Stack

  • Next.js - React framework

  • TypeScript - Type safety

  • Tailwind CSS - Styling

  • Solana Web3.js - Blockchain integration

  • ShadcnUI - UI components

  • Docker

    # Build the Docker image
    docker build -t aicity-frontend .
    
    # Run the container
    docker run -p 3000:3000 aicity-frontend

Getting Started

Prerequisites

  • Node.js 16.x or later
  • npm or yarn package manager
  • Solana wallet (e.g., Phantom)

Installation

  1. Clone the repository:
git clone <repository-url>
cd aicity-frontend
  1. Install dependencies:
npm install
# or
yarn install
  1. Set up environment variables: Create a .env.local file with:
NEXT_PUBLIC_BACKEND_API_URL=<your-backend-url>
NEXT_PUBLIC_BACKEND_API_KEY=<your-api-key>
  1. Run the development server:
npm run dev
# or
yarn dev
  1. Open http://localhost:3000 in your browser.

Project Structure

src/
  ├── components/     # React components
  ├── app/           # Next.js pages
  ├── lib/           # Utility functions
  ├── styles/        # Global styles
  └── types/         # TypeScript types

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request

License

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

Support

For support, please open an issue in the repository or contact the development team.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0