Skip to content

kamilkisiela/GitHunt-Lite-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHunt Lite API

How to start

Install

npm install

Initialize

npm run migrate
npm run seed

or

npm run clean

It removes the old database and creates a new one by running migrate and seed.

run

npm start

SQL data structure

comments

id: number
created_at: Date
posted_by: string
content: string
repository_name: string

entries

id: number
repository_name: string
created_at: Date
posted_by: string

GitHub API - mock up

Repositories

All available repositories are available in mocks/github/data.json.

  • d3/d3
  • angular/angular
  • angular/angular.js
  • jquery/jquery
  • facebook/react
  • and more...

Data structure

name: string
owner: string
description: string
url: string
stars: number
issues: number

Model

GitHub.repository(owner: string, name: string): Object

About

Step by step tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published