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

https://github.com/andrewda/ktor-react-starter


https://github.com/andrewda/ktor-react-starter

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Spark

SERT's code for the Spark challenge @ Hack for a Cause 2019.

## Running

To run the program, use the commands below:

```bash
$ ./gradlew build # builds the frontend/backend
$ ./gradlew :backend:run # runs the backend server
```

After starting the backend, you can visit the website at `http://127.0.0.1:8080`.

If you're working on the frontend and would prefer a hot-reloading instance, you can use:

```bash
./gradlew :frontend:run
```

Then you can reach the frontend at `http://127.0.0.1:3000`.

## Docker

First, you'll need to build the `webapp` Docker image. However, before you can, you must first build the app. This can
all be done by following the commands below:

```bash
$ ./gradlew build
$ docker build -t webapp .
```

Once the image is done, start the web server and MySQL database with:

```bash
$ docker-compose up
```