Skip to content

This application assists users in finding bookstores in New York, and surrounding neighborhoods.

Notifications You must be signed in to change notification settings

davonbl/Bibliophile-s-Compass

Repository files navigation

Bibliophile's Compass

This application called Bibliophile's Compass assists users in finding bookstores in New York, and surrounding neighborhoods.

Tools needed: Google Maps API Key & Yelp Fusion API Key, Visual Studio Code (VSC; recommended)/ simliar code editors, git bash (recommended), Vite, and this Github repo

  1. Before git cloning this repo, it is required that you get an Google Maps API Key and a Yelp Fusion API key in order for their services to operate on this application. Here are the websites to sign up for your api keys:
  1. After satisying the pre-requisites, you can then git clone the repo to your code editor.

  2. In the git bash terminal, and assuming you are on the right path, type 'npm i' or 'npm install' to ensure that are you downloading the necessary node modules needed.

  3. On your code editor's interface, go to the API_KEYS.js file and input your Google Maps and Yelp Fusion API key to its designated variables.

  4. In the git bash terminal, type the command "npm run dev". This will run the Vite server. Copy the url link and paste it on your browser.

  5. When you launch the application, you will be prompt with this: " CORS needs to be enabled for this application to work. Click 'OK' to enable it. If you already done that, then click "Cancel.' If this is your first time using the application, it is recommended to enable the CORS remote server. This is needed because the Yelp API in the fron-end is restrictive: if you decide to cancel, then you will very likely come across CORS related errors.

    • By clicking on the link to the cors-anywhere, and enabling its remote server, you can then bypass front-end restrictions that the yelp dev team imposed on their API.
  6. After enabling the remote cors everywhere server, you can now do some search queries of bookstores.

Enjoy and cheers!

About

This application assists users in finding bookstores in New York, and surrounding neighborhoods.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published