Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 869 Bytes

README.md

File metadata and controls

33 lines (27 loc) · 869 Bytes

gclone Server

Installation & Usage

Installation

  • fork and clone this repo
  • open root directory in terminal
  • run npm install to install dependencies

Usage

  • npm start to launch server
  • npm test to start test

Changelog

  • set up express server
  • general route ('/') added with welcome message
  • added routes for /search/:query & /search/random/:query
  • added cors, body-parser, axios packages
  • added axios functions to get data from external api
  • added helper functions for formatting and randomizing data

TODO

  • create review branch
  • create server
  • get request to return result to client
  • get request to return result from external search api
  • data formatters

Test TODO

  • test server
  • test get requests
  • test external api calls
  • test helper functions