Skip to content

Example of Search an user at Github with React, CSS in JS (Glamor), E2E tests with Cypress and CI/CD with CircleCI

License

Notifications You must be signed in to change notification settings

danvitoriano/search-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search GitHub

CircleCI

DEMO

https://search-github-dnvtrn.herokuapp.com

Type for an username and get GitHub user details.

This project was bootstrapped with Create React App.

Install

git clone git@github.com:danvitoriano/search-github.git
cd search-github
yarn

Run

yarn start

Starts the development server at http://localhost:3000.

yarn build

Test

yarn test

Cypress End-2-End Testing Framework

yarn e2e

Starts http://cypress.io JavaScript End to End Testing Framework. You can change properties, environment and mock stubs at Globals.js file.

Continuos Integration

Automated build continuous process with CircleCI

Deploy

now.sh

Install now.sh to build and deploy on public address. Then just run:

now

Heroku

Use Heroku Buildpack.

✏️ Replace $APP_NAME with a name for your unique app.

git init
heroku create $APP_NAME --buildpack https://github.com/mars/create-react-app-buildpack.git
git add .
git commit -m "Start with create-react-app"
git push heroku master
heroku open

GitHub Mock API

GitHub API has 5000 request limit per hour. If you got stucked into this, use this fork of mock-github-api and run it from localhost. You can change properties at Globals.js file.

Provides additional documentation and share long-form content about this project.

Issues

View all issues or open a new issue.

Pull Requests

Create a new pull request to collaborate, discuss and review potential changes.

Contact

vitoriano08@gmail.com