Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Stack-Box/stackbox

Create app stacks loaded with all your favourite clients, services and infra along with code boilerplates in under 5 mins.
https://github.com/Stack-Box/stackbox

angular backend boilerplates docker docker-compose elasticsearch favourite-clients flask frontend infra kafka mysql rails s3 stackbox vue

Last synced: about 1 month ago
JSON representation

Create app stacks loaded with all your favourite clients, services and infra along with code boilerplates in under 5 mins.

Awesome Lists containing this project

README

        


StackBox

























Stackbox helps you create app stacks loaded with all your favourite clients, services and infra in under 5 mins. The aim of the project is to help developers setup quick infra and boilerplates to start the dev work asap. Ideally this project is to help rapid prototyping, building PoCs or writing code for hackathons.

> Wiki is a good place to start!

1. [**About**](https://github.com/Stack-Box/StackBox/wiki)
2. [**Get Started**](https://github.com/Stack-Box/StackBox/wiki/Get-started)
3. [**Working**](https://github.com/Stack-Box/StackBox/wiki/Working)
4. [**Debugging**](https://github.com/Stack-Box/StackBox/wiki/Debugging)

# Get Started

## Run

### Brew installation

```
brew tap Stack-Box/tap
brew install stackbox
```

**Run**

```
stackbox
```

Creates a folder names `stackbox` in the current directory with all source.

### From source

```
sh stackbox.sh
```

Follow the menu options to select clients and services for your stack.

Jump to [_**example-stacks**_](https://github.com/Stack-Box/StackBox/blob/master/README.md#example-stacks) to quickly try a run

## Support

| Clients/Services | Mysql | Elasticsearch | MongoDB | S3 | DynamoDB |
| ---------------- | ----- | ------------ | --------| ---- | ----------|
| **Flask** | ✅ | ✅ | ❌ | ✅ | ✅ |
| **Rails** | ✅ | ❌ | ❌ | ❌ | ❌ |
| **Vue** | ✅ | ✅ | ❌ | ❌ | ❌ |
| **Angular** | ✅ | ✅ | ❌ | ❌ | ❌ |
| **React** | ❌ | ❌ | ❌ | ❌ | ❌ |

Other containers that you can bring up:
1. nginx
2. kibana
3. kafka + zookeeper (*there's a kafka handler support for put/get messages in flask*)

## Example Stacks

The following are a few example stacks you could spin-up.

Run from source - `sh stackbox.sh` or Run from Brew installation - `stackbox`

### 1. Flask-Vue-Mysql-Elasticsearch

Choose vue for frontend, flask for backend. Choose mysql and elasticsearch (with/without kibana) for services.
After the run is finished, the final log should look like the one below.
```
flask is up at http://localhost:80
vue is up at http://localhost:8080
elasticsearch is up at http://localhost:9200
mysql is up at http://localhost:3306
```
Now you can visit to view the Vue frontend. From there you can click on Mysql/Elasticsearch links to view the preloaded data from mysql/elasticsearch containers being rendered.





### 2. Flask-Angular-Mysql-Elasticsearch

Choose vue for frontend, flask for backend. Choose mysql and elasticsearch (with/without kibana) for services.
After the run is finished, the final log should look like the one below.
```
flask is up at http://localhost:80
angular is up at http://localhost:4200
elasticsearch is up at http://localhost:9200
mysql is up at http://localhost:3306
```
Now you can visit to view the Vue frontend. From there you can click on Mysql/Elasticsearch links to view the preloaded data from mysql/elasticsearch containers being rendered.




**Visit [Working](https://github.com/Stack-Box/StackBox/wiki/Working) or [Debugging](https://github.com/Stack-Box/StackBox/wiki/Debugging) pages to know more about internal details.**