Giter Site home page Giter Site logo

batuncer / googlesearchengine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eheath30/searchengine

0.0 0.0 0.0 4.62 MB

Google Search prototype using google JSON API

Home Page: https://github.com/eheath30/searchEngine/

JavaScript 49.03% CSS 26.98% HTML 23.99%

googlesearchengine's Introduction

README

Content:

1. Assignment title

2. Installation & usage

3. How to run this project

4. Changelog

5. Google Search JSON API


1.

Assignment title: Lap1 Futureproof searchEngine




Search Engine


2.

Installation and usage:


pre-requisites for running this program.
  • In order to run this program you must have nodejs installed and your own google search json api key which can be obtained for free from the google api library.
  • Once you have your api key, navigate to server/app.js line:98 and insert your own api key in place of <ADD-API-KEY-HERE>.
  • Optional: If you wish to have a functioning return-home button then go to client/result.html, line 14: and add the url you are running client/index.html from to the anchor tag href <a href="<INSERT-URL-HERE>" alt="link-to-homepage">

To install the dependencies required to run the project please navigate to the server folder and install the required dependencies (into the server folder, preferably using npm):

  • expressjs
  • cors
  • npm
  • nodemon (optional)

3.

How to run this project:


After the above, whilst still in the server folder, please run the command npm run dev. This command will start the server running.


To view the client side, navigate to the client folder and either open index.html in the browser or run it if you are using an IDE.


4.

Changelog:

  • Dependencies installed.
  • Styling & html added.
  • Added paths for get requests added.
  • Search engine working
  • Upgrading search engine
  • Search Engine Upgrade working successfully on client side. Still showing minor errors but they are not affecting usage.
  • Search Engine Working with Google Search JSON API.
  • Search Engine working with both Google Search JSON API & Server Database Search.

future ideas:

-> I'm feeling lucky button -> Improved error handling (alert for out of range searches on database). -> Code refactoring and optimisation. -> jest testing. -> additional styling and new features!

Bugs:

- multiple bugs identified. More coming soon...

  • key issues: speed | security | flexability | scalability
    • Currently minimal error handling

Search Engine


Search Engine




5.

Google Search JSON API

  • Using Google Search API fetch experimental features for fast & secure server-side data collection.

Search Engine

Image Credits: All images used in this project belong to google, they are merely being used for the purpose of a study project.



googlesearchengine's People

Contributors

eheath30 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.