This project was bootstrapped with Create React App.
Single page application to Search on Github Gist Api.
For development, you will need Node.js and a node global package, Yarn, installed in your environement.
-
Just go on official Node.js website and download the installer. Also, be sure to have
git
available in your PATH,npm
might need it (You can find git here). -
You can install nodejs and npm easily with apt install, just run the following commands.
$ sudo apt install nodejs $ sudo apt install npm
-
You can find more information about the installation on the official Node.js website and the official NPM website.
After installing node, this project will need yarn too, so just run the following command.
$ npm install -g yarn
$ git clone https://github.com/sa3dwi/github-gist
$ cd github-gist
$ yarn install
Open github-gist/src/config.json
then edit it with your settings:
- minimum search characters
- maximum search characters
- localstorage key name
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
$ yarn start
$ yarn test
- pagination is not required
- use global state like redux or Mobx is not required
- use only Reactjs or Angularjs other libraries like Jquery or Bootstrap are not allowed