# gh

[![CircleCI](https://circleci.com/gh/keik/gh/tree/develop.svg?style=svg)](https://circleci.com/gh/keik/gh/tree/develop)
[![Coverage Status](https://img.shields.io/coveralls/keik/gh.svg?style=flat-square)](https://coveralls.io/github/keik/gh)

Performant GitHub clone application powered by React + Express as universal JavaScript.


## Development status

Under development.

Implemented features:

- [x] Git repository viewer
- [x] Push / Pull via HTTP(s)
- [ ] Authentication
- [ ] Issues
- [ ] Pull requests
- [ ] ...


## Demo

https://gh0.herokuapp.com/


## Build and run

```
make build start
```

Application configurations are available by `config.json`


## Development

### Initiaize database


Creating

```
npx sequelize db:create
```

Seeding

```
npx sequelize db:seed
```

Migrating

```
npx sequelize db:migrate
```


### Coding

Watch changes and build incrementally with

```
npm run watch:js      # for frontend
npm run watch:server  # for server
```


## Test

```
npm test
```


## License

MIT &copy; keik

# gh

[![CircleCI](https://circleci.com/gh/keik/gh/tree/develop.svg?style=svg)](https://circleci.com/gh/keik/gh/tree/develop)
[![Coverage Status](https://img.shields.io/coveralls/keik/gh.svg?style=flat-square)](https://coveralls.io/github/keik/gh)

Performant GitHub clone application powered by React + Express as universal JavaScript.


## Development status

Under development.

Implemented features:

- [x] Git repository viewer
- [x] Push / Pull via HTTP(s)
- [ ] Authentication
- [ ] Issues
- [ ] Pull requests
- [ ] ...


## Demo

https://gh0.herokuapp.com/


## Build and run

```
make build start
```

Application configurations are available by `config.json`


## Development

### Run dependent services

Run MySQL and Redis by Docker

```
docker-compose up -d
```

### Initiaize database


Creating

```
npx sequelize db:create
```

Seeding

```
npx sequelize db:seed
```

Migrating

```
npx sequelize db:migrate
```


### Coding

Watch changes and build incrementally with

```
npm run watch:js      # for frontend
npm run watch:server  # for server
```


## Test

```
npm test
```


## License

MIT &copy; keik

Add doc about docker env.
:bulb: Add doc about docker env.
