Skip to content

Scala web application seed, using Spray, Slick and Swagger

Notifications You must be signed in to change notification settings

tkqubo/spray-slick-swagger-seed

Repository files navigation

Spray-Slick-Swagger seed

Scala seed project with:

Quick start

# clone repo from GitHub
git clone https://github.com/tkqubo/spray-slick-swagger-seed.git

# create database for local environment (assuming MySQL is already installed on your machine)
mysql -e 'CREATE DATABASE sample;'

# setup database
sbt dbClean dbMigrate

# run the server
sbt run

SBT tasks

Test

sbt test

Migrate database

sbt dbMigrate

Clean database

sbt dbClean

Generate database migration file

# xxx comes any description for the migration
sbt "generateMigration xxx"

Create executable

sbt universal:stage
# execute as follows
# ./target/universal/stage/bin/spray-slick-swagger-seed -Denvironment=localhost

About

Scala web application seed, using Spray, Slick and Swagger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages