- All Dependencies are already included
- Simply
go run main.go
- Create a .env file
- Setting Up Env File
API_KEYS =
MONGODB_URL =
DB_NAME =
COLLECTION_NAME =
- GoRoutines is added so that after every 10 minutes, youtube fetches videos related to
cricket
and push it in mongodb. - Get Request API -
https://localhost:3000/api/getVideos
Response - Added in filemockResponse.json