andrewda / ktor-react-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spark

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

Running

To run the program, use the commands below:

$ ./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:

./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:

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

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

$ docker-compose up

About

License:MIT License


Languages

Language:Kotlin 77.4%Language:TypeScript 16.9%Language:HTML 3.5%Language:CSS 1.9%Language:Dockerfile 0.4%