Repository for the AWS Bedrock and Atlas Vector search workshop. Please make sure to complete all backend steps.
Lunch a github codespace conntainer.
- Set the needed
.env
file content:
VUE_APP_BASE_APP_SERVICE_URL='<your app services endpoint>'
VUE_APP_SEARCH_ENDPOINT='getSearch'
VUE_APP_SAVE_CHATS_ENDPOINT='saveChats'
VUE_APP_GET_CHATS_ENDPOINT='getChats'
VUE_APP_SIDE_IFRAME='https://charts.mongodb.com/charts-fsidemo-ubsdv/embed/charts?id=65a67383-010f-4c3d-81b7-7cf19ca7000b&maxDataAge=3600&theme=light&autoRefresh=true'
Install serve
:
npm install serve -g
Build the app:
npm run build
Run project:
serve -d dist/
Redirect to the URL and open app.
- Clone the repo :
git clone https://github.com/mongodb-developer/atlas-bedrock-crime-story-demo
- Set the needed
.env
file content:
VUE_APP_BASE_APP_SERVICE_URL='<your app services endpoint>'
VUE_APP_SEARCH_ENDPOINT='getSearch'
VUE_APP_SAVE_CHATS_ENDPOINT='saveChats'
VUE_APP_GET_CHATS_ENDPOINT='getChats'
- install depndencies
npm install
npm run serve
npm run build
npm run lint