Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mcallisto/slinky-expo-sqlite-example

Expo's sqlite-example coded in Scala through Scala.js, Slinky and ScalablyTyped.
https://github.com/mcallisto/slinky-expo-sqlite-example

expo react scala scalajs slinky sqlite

Last synced: 10 days ago
JSON representation

Expo's sqlite-example coded in Scala through Scala.js, Slinky and ScalablyTyped.

Awesome Lists containing this project

README

        

# Slinky expo-sqlite-example
Refactoring of [Expo](https://expo.io)'s [sqlite-example](https://github.com/expo/examples/tree/master/with-sqlite) coded in [Scala](https://scala-lang.org/) through [Scala.js](https://www.scala-js.org), [Slinky](https://slinky.dev) and [ScalablyTyped](https://github.com/oyvindberg/ScalablyTyped).

## Requirements
Make sure you have [sbt](https://www.scala-sbt.org) and [yarn](https://yarnpkg.com) installed.

### Install the Expo CLI
```sh
$ yarn global add expo-cli
```

## How to
### Run in development

First compile your Scala code to JavaScript by running:
```sh
$ sbt fastOptJS
```

Then, launch the app with Expo:
```sh
$ expo start
```

## Acknowledgements
`slinky-expo-sqlite-example` is based on Slinky's [Expo Scala Template](https://github.com/shadaj/expo-template-scala).

This demo uses the Scala.js typings developed by Øyvind Raddum Berg, see more demos at [SlinkyDemos](https://github.com/ScalablyTyped/SlinkyDemos).