Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mcallisto/slinky-expo-sqlite-example
- Owner: mcallisto
- Created: 2020-01-31T10:46:27.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T16:00:00.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T15:45:26.702Z (26 days ago)
- Topics: expo, react, scala, scalajs, slinky, sqlite
- Language: Scala
- Homepage:
- Size: 1.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
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 developmentFirst 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).