mirror of
https://github.com/jlengrand/kotlin-ports-demo.git
synced 2026-03-10 00:21:22 +00:00
Fixes some issues
This commit is contained in:
15
README.md
15
README.md
@@ -2,14 +2,11 @@
|
||||
|
||||
[](https://app.netlify.com/sites/kotlin-ports-demo/deploys)
|
||||
|
||||
This repository is a demo of how the [Elm ports] method can be used to quickly introduce a Javascript library into a Kotlin/JS project without too much work with external declarations.
|
||||
|
||||
You can demo the app **[here](https://kotlin-ports-demo.netlify.app/)**.
|
||||
|
||||
It is a support to **[this blog post](https://lengrand.fr/using-elm-knowledge-to-dive-into-kotlin-js)**
|
||||
|
||||
This repository contains a short [Kotlin/Js](https://kotlinlang.org/docs/js-interop.html) project with a [Firebase integration](https://firebase.google.com/).
|
||||
This repository is a demo of how the [Elm ports](https://guide.elm-lang.org/interop/ports.html) method can be used to quickly introduce a Javascript library into a Kotlin/JS project without too much work with external declarations.
|
||||
|
||||
* This repository contains a short [Kotlin/Js](https://kotlinlang.org/docs/js-interop.html) project with a [Firebase integration](https://firebase.google.com/).
|
||||
* You can demo the app **[here](https://kotlin-ports-demo.netlify.app/)**.
|
||||
* It is a support to **[this blog post](https://lengrand.fr/using-elm-knowledge-to-dive-into-kotlin-js)**
|
||||
|
||||
## Getting started
|
||||
|
||||
@@ -23,7 +20,7 @@ To run this app locally, you will need to :
|
||||
- Go to the [Firebase console](https://console.firebase.google.com/?pli=1) and create a new project
|
||||
- Setup Google Signin in the Authentication part.
|
||||
|
||||

|
||||

|
||||
|
||||
- Create a new Cloud Firestore in locked mode
|
||||
- Change the Firestore rules so that only logged requests can be written / read.
|
||||
@@ -68,7 +65,7 @@ The easiest way is to go to the settings page of your project, and scroll down u
|
||||
|
||||
_Note : All the information in the .env file is not secret, and can be shared. In fact, it will be accessible to anyone using your app via the console. [This is not a problem](https://stackoverflow.com/questions/37482366/is-it-safe-to-expose-firebase-apikey-to-the-public)!_
|
||||
|
||||

|
||||

|
||||
|
||||
- Run the app : `$ ./gradlew clean build jsBrowserDevelopmentRun`. You will be able to test the app at `http://localhost:8080`!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user