* add highlight mappings * return highlight in resolvers * temporarily skip highlight tests * add test for getting highlights * update merge highlight * separate elastic methods * roll back merge highlight test * add highlight to elastic script * update delete highlight in elastic * migrate highlight data from postgres to elastic * rescue not found exception when page is not found in the migration script * exclude highlights in searching pages results * search pages with highlights only with has:highlight query * add search endpoint to search pages or highlights * reduce code smell in search api * fix rebase error * fix tests * add test for search highlight * add test for new search endpoint * add labels to search results * update schema * update search query * fix update/share highlights * fix rebase error * fix tests * add highlight model in elastic * add savedAt and publishedAt date range in search query * add sort by updated and recently read * fix tests * close db connection when tests are done * test github action * revert github action test * fix rebase error * add docker-compose for api-test * remove unused env * remove highlights with no page attached to * allow get_articles resolver to search for query so we can merge it without web changes
28 lines
664 B
Plaintext
28 lines
664 B
Plaintext
API_ENV=local
|
|
PG_HOST=localhost
|
|
PG_PORT=5432
|
|
PG_USER=app_user
|
|
PG_PASSWORD=app_pass
|
|
PG_POOL_MAX=20
|
|
PG_DB=omnivore
|
|
JWT_SECRET=some_secret
|
|
SSO_JWT_SECRET=some_sso_secret
|
|
CLIENT_URL=http://localhost:3000
|
|
GATEWAY_URL=http://localhost:4000/api
|
|
IMAGE_PROXY_URL=http://localhost:8080
|
|
IMAGE_PROXY_SECRET_KEY=some-secret
|
|
GAUTH_IOS_CLIENT_ID=
|
|
GAUTH_CLIENT_ID='notset'
|
|
GAUTH_SECRET='notset'
|
|
GCP_PROJECT_ID=omnivore-local
|
|
INTERCOM_TOKEN=
|
|
SENTRY_DSN=
|
|
JAEGER_HOST=
|
|
SAMPLE_METRICS_LOCALLY=FALSE
|
|
GCS_UPLOAD_BUCKET=
|
|
GCS_UPLOAD_SA_KEY_FILE_PATH=
|
|
TWITTER_BEARER_TOKEN=
|
|
PREVIEW_IMAGE_WRAPPER_ID='selected_highlight_wrapper'
|
|
REMINDER_TASK_HANDLER_URL=
|
|
ELASTIC_URL=http://localhost:9200
|