Skip to content

rimorin/nwt-search

Repository files navigation

NWT Search

Screenshot 2022-06-14 at 10 58 04 PM

Screenshot 2022-06-14 at 10 59 12 PM

Tech Stack

This search experience is powered by Typesense which is a blazing-fast, open source typo-tolerant search-engine. It is an open source alternative to Algolia and an easier-to-use alternative to ElasticSearch.

Repo structure

Development

To run this project locally, install the dependencies and run the local server:

  1. Install parcel builder
npm install -g parcel-bundler # Need to use NPM for this: https://github.com/parcel-bundler/parcel/issues/1036#issuecomment-559982275
  1. Create local env variable shell file
export TYPESENSE_HOST=localhost
export TYPESENSE_PORT=8108
export TYPESENSE_PROTOCOL=http
export TYPESENSE_COLLECTION_NAME=contents
export TYPESENSE_SEARCH_ONLY_API_KEY=xxxx
  1. Run npm start
npm start

Open http://localhost:3000 to see the app.

Deployment

  1. Run parcel build
npm run build
  1. Upload files to static storage such as S3 or Gcloud storage and configure CDN

About

Powerful search engine for the NWT bible

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published