This project consists of three submodules: SupportAI-Frontend, SupportAI-Backend, and SupportAI-Model-AI. We use Docker for easy setup and teardown. The make.sh script provides a set of commands to manage the project.
- Generate, edit, and finalize guides based on customer interactions.
- User authentication and authorization using NestJS Passport.
- Real-time chat functionality with WebSocket and Socket.io.
- Efficient data handling and database interactions using TypeORM.
- Deployment using Docker and Docker Compose.
- Integration with a PostgreSQL database.
- Comprehensive unit and end-to-end (E2E) testing with Jest.
- Scalable and modular architecture.
- Frontend: NextJs, React, TypeScript, TanStack Query
- Backend: NestJS, TypeORM, Passport for authentication
- Database: PostgreSQL
- AI Model: Custom AI service
- Deployment: Docker, Docker Compose
- Testing: Jest (Unit and E2E)
- Project Management: Jira
Clone the repository:
git clone --recurse-submodules https://github.com/SupportAI-Project/SupportAI.gitThis command installs the necessary dependencies for the Frontend and Backend:
./make.sh installThis command initializes the project by adding the necessary git submodules. It adds the Frontend, Backend, and Model-AI repositories as submodules to the current git repository:
./make.sh initThis command starts the Docker containers in detached mode:
./make.sh upThis command stops and removes the Docker containers
./make.sh downThis command reloads the Docker containers.
./make.sh reloadThis command shows the logs of the Docker containers
./make.sh logsTo use any of the commands, navigate to the root directory of the project in your terminal and type ./make.sh followed by the command. For example, to install the dependencies, you would type ./make.sh install.