An AI Chatbot app built with React Native, TypeScript, Tailwind, and Zustand on the frontend, and Golang, Gin, and Gorm on the backend. The app leverages the OpenAI API to generate streamed AI responses to user input.
The app contains tests for both the frontend and backend, which run automatically via GitHub Actions whenever you push your code to the repository.
AI.Chatbot.Project.mp4
-
Clone the repository:
git clone https://github.com/ElhanM/ai-chatbot.git cd ai-chatbot
-
Navigate to the
./app
directory and install React Native dependencies:cd app nvm use npm install
-
Navigate to the
./api
directory and install Go dependencies:cd api go mod tidy
Run the entire project with a single command from the root directory (make sure Docker is running on your machine and envs are set):
make ai-chatbot
This command will:
- Start the React Native frontend, viewable on your device or emulator using the Expo Go app.
- Start the Golang backend server, accessible at http://localhost:5019.
- Launch the Postgres database inside a Docker container.