This project is a part of Technical Test of Software Engineering in Archipelago.
.
├── Dockerfile
├── README.md
├── chat
│ ├── chat.go
│ └── handler.go
├── cmd
│ ├── root.go
│ ├── serve.go
│ └── version.go
├── config
│ └── config.go
├── docker
│ └── nginx.conf
├── docker-compose.prod.yaml
├── docker-compose.yaml
├── go.mod
├── go.sum
├── main.go
└── web
├── README.md
├── dist
│ ├── assets
│ │ ├── index-Dt1i8YJl.css
│ │ └── index-vlisaxTd.js
│ ├── index.html
│ └── vite.svg
├── index.html
├── package.json
├── public
│ └── vite.svg
├── src
│ ├── App.vue
│ ├── assets
│ │ └── vue.svg
│ ├── components
│ │ └── ChatWindow.vue
│ ├── main.js
│ ├── scss
│ │ └── style.scss
│ └── style.css
├── vite.config.js
└── yarn.lock
- Golang If you want to run in your machine without docker
- NodeJS If you want to run in your machine without docker (for build UI)
- Docker installed on your local machine
Use Docker compose to run the server without manual setup (ref: docker-compose.yaml). You can start the app by following command:
docker compose up -d🚀 Open your browser http://localhost:8080/. Voila! The dashboard is ready. 🚀
You can also run the app using golang binary if you are already installed golang on your local machine.
# Setup frontend
cd web
yarn install
# Setup backend
cd ..
go mod tidy
# Run the server
go run . serve