This is and api project made with express js. It contains API of all the chapters, verses, shloaks, audios, youtube video timestamp etc
Install my-project with npm
npm install
node app.js
http://localhost:4000/api/chapters
This will display all the chapters of Gita
http://localhost:4000/api/verses/${chapterNumber}
This will display all the verses of specific chapter
http://localhost:4000/api/verse/${chapterVerse}
This will display all the details of a specific verse of chapter
http://localhost:4000/api/audio/${chapterVerse}
This will display the audio of a specific verse of chapter
http://localhost:4000/api/links/${chapterVerse}
This will display the audio lecture links for specific verse of a chapter
http://localhost:4000/api/timestamp/${chapterVerse}
This will display all the time stamp of youtube video lecture
http://localhost:4000/api/questions/${verseId}
This will display all the questions of a specific verse
to run the Redis on terminal = docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
Stop all running containers:
Remove all containers:
docker rm $(docker ps -a -q) Remove All Images Remove all images:
docker rmi $(docker images -q)
http://localhost:4000/calculate-data