Skip to content

This is a Github Repository tab generator using HTML, CSS, and JavaScript only

Notifications You must be signed in to change notification settings

DeolaJ/github-replica

Repository files navigation

Github Repository Tab Replica

Using the Github GraphQL API. The project is live here

Description

Generate the Github Repository tab for any user with only their username

Instructions

The entry files:

  • HTML: index.html
  • CSS: css/index.css
  • JS: scripts/index.js

Parcel was used as the bundler for this project.

To add your GITHUB_TOKEN, create an .env file using the .sampleenv file (as a sample) and input your personal token.

Getting Started

git clone https://github.com/deolaj/github-replica.git
cd github-replica
yarn install

Development

To run the local server,

yarn start

The prettier and eslint libraries are used for formating and error checking. Install their corresponding vscode extensions to use with VSCode.

Production

To generate build files for production,

yarn build

Test

Tests were written using Cypress. Test files are in cypress/integration/. To run tests, ensure your development server is running and run

yarn test

Then select the test to run in the Cypress test runner.

About

This is a Github Repository tab generator using HTML, CSS, and JavaScript only

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published