Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/woodiny/google-drive
https://github.com/woodiny/google-drive
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/woodiny/google-drive
- Owner: woodiny
- Created: 2024-08-23T07:36:59.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T07:37:14.000Z (5 months ago)
- Last Synced: 2024-11-14T20:28:30.515Z (2 months ago)
- Language: Vue
- Size: 99.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
## Model
www.msaez.io/#/courses/cna-full/a9f87e40-d9ca-11ee-95c6-a5c7812f13e0/ddd-google-drive## Before Running Services
### Make sure there is a Kafka server running
```
cd kafka
docker-compose up
```
- Check the Kafka messages:
```
cd infra
docker-compose exec -it kafka /bin/bash
cd /bin
./kafka-console-consumer --bootstrap-server localhost:9092 --topic
```## Run the backend micro-services
See the README.md files inside the each microservices directory:- drive
- indexer
- video processing
- notification
- dashboard## Run API Gateway (Spring Gateway)
```
cd gateway
mvn spring-boot:run
```## Test by API
- drive
```
http :8088/drives id="id" userId="userId" file="file" uploadDt="uploadDt" size="size" fileName="fileName"
```
- indexer
```
http :8088/indexers id="id" fileId="fileId" fileLocation="fileLocation" fileName="fileName" indexDt="indexDt"
```
- video processing
```
http :8088/videoProcessings id="id" fileId="fileId" videoUrl="videoUrl" uploaderId="uploaderId" status="status"
```
- notification
```
http :8088/notifications id="id" uploaderId="uploaderId" message="message" sendDt="sendDt"
```
- dashboard
```
```## Run the frontend
```
cd frontend
npm i
npm run serve
```## Test by UI
Open a browser to localhost:8088## Required Utilities
- httpie (alternative for curl / POSTMAN) and network utils
```
sudo apt-get update
sudo apt-get install net-tools
sudo apt install iputils-ping
pip install httpie
```- kubernetes utilities (kubectl)
```
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
```- aws cli (aws)
```
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
```- eksctl
```
curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin
```