Skip to content

Commit

Permalink
updated screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
oen9 committed Apr 28, 2020
1 parent db6afc0 commit 6f67df5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ full-stack-zio

![alt text](https://raw.githubusercontent.com/oen9/full-stack-zio/master/img/web.png "web")

## Features

1. TODO list - MongoDB
1. Small Flappy Bird game with scoreboard - Postgres\
The game is badly optimised because of not working directly with canvas.
It is just my demo focusing on react w with scalajs.
1. Auth example (register, singin, signout, secured endpoint) - Postgres
1. API documentation - Swagger

## Libs

### backend
Expand All @@ -32,11 +41,11 @@ full-stack-zio

## in progress

auth example
1. websockets

## soon

1. auth example
1. websockets
1. more?

## Production
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ lazy val sharedSettings = Seq(
"io.circe" %%% "circe-literal" % Ver.circe,
"com.softwaremill.quicklens" %%% "quicklens" % "1.5.0"
// waiting for scalajs-1.0.0 support
// "io.scalaland" %%% "chimney" % "0.5.0",
// "io.scalaland" %%% "chimney" % "0.5.1",
),
scalacOptions ++= Seq(
"-Xlint",
Expand Down Expand Up @@ -88,7 +88,7 @@ lazy val jvmSettings = Seq(
"org.reactormonk" %% "cryptobits" % "1.3",
"org.mindrot" % "jbcrypt" % "0.4",

"io.scalaland" %%% "chimney" % "0.5.0", // TODO remove from here after scalajs-1.0.0 support
"io.scalaland" %%% "chimney" % "0.5.1", // TODO remove from here after scalajs-1.0.0 support

"dev.zio" %% "zio-test" % Ver.zio % Test,
"dev.zio" %% "zio-test-sbt" % Ver.zio % Test,
Expand Down
Binary file modified img/web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion js/src/main/scala/example/components/TodoLi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import example.services.SwitchTodoStatus
val onSwitchStatus = () => dispatch(SwitchTodoStatus(props.todoTask.id.getOrElse("")))

li(className := "list-group-item",
div(className := "row",
div(className := "row align-items-center",
div(className := "col-sm col-md-8",
props.todoTask.status match {
case Done => s(props.todoTask.value)
Expand Down
3 changes: 1 addition & 2 deletions js/src/main/scala/example/modules/Register.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package example.modules

import cats.implicits._
import diode.data.PotState.PotFailed
import diode.data.PotState.PotPending
import diode.data.PotState.PotReady
import org.scalajs.dom.{Event, html}
Expand All @@ -13,11 +12,11 @@ import slinky.core.FunctionalComponent
import slinky.core.SyntheticEvent
import slinky.web.html._

import example.components.AuthLastError
import example.services.AppCircuit
import example.services.ReactDiode
import example.services.TryRegister
import example.services.Validator
import example.components.AuthLastError

@react object Register {
type Props = Unit
Expand Down

0 comments on commit 6f67df5

Please sign in to comment.