https://github.com/fable-compiler/fable3-samples
Nagareyama (Fable 3) samples
https://github.com/fable-compiler/fable3-samples
Last synced: 6 months ago
JSON representation
Nagareyama (Fable 3) samples
- Host: GitHub
- URL: https://github.com/fable-compiler/fable3-samples
- Owner: fable-compiler
- License: mit
- Created: 2020-10-23T04:43:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-02T10:26:44.000Z (over 2 years ago)
- Last Synced: 2024-04-14T12:57:32.705Z (about 1 year ago)
- Language: F#
- Size: 3.68 MB
- Stars: 45
- Watchers: 10
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fable3-samples
This is the repository hosting samples for quite all your Fable needs. To start a new Fable project you can clone this repo and then copy/paste one of the projects. There aren't so many files inside each project so that should really be easy. Thanks a lot to @whitetigle for writing the samples and @delneg for updating them for Fable 3!
So what do we have here?
### Easy like 1,2,3
1. **[browser](https://github.com/fable-compiler/fable3-samples/tree/main/browser)**, a simple canvas experiment to get started with Fable and the Browser DOM Api
2. **[nodejs](https://github.com/fable-compiler/fable3-samples/tree/main/nodejs)**, a simple Node.js app with `.fs` files transpiled as independent `.js` files
3. **[nodejsbundle](https://github.com/fable-compiler/fable3-samples/tree/main/nodejsbundle)**, a simple Node.js app bundled into one single `.js` file. Note: this sample hasn't been updated to Fable 3 yet.
4. **[promises](https://github.com/fable-compiler/fable3-samples/tree/main/promises)**, do you like dogs? Display a ::dog:: pic everytime you refresh the page. Here we introduce promises and fetch to get random dog pics!
### Advanced
1. **[minimal](https://github.com/fable-compiler/fable3-samples/tree/main/minimal)**, a great sample featuring a React Single Page Application and Elm architecture. Great to get started with Fable for real.
2. **[fulma](https://github.com/MangelMaxime/fulma-demo)**, full fledged Single Page Application featuring React, Bulma CSS (Fulma) and Elm architecture. The de-facto template for nowadays web apps. We've got you covered with this template.
3. **[mocha](https://github.com/fable-compiler/fable3-samples/tree/main/mocha)**, add tests to your Fable projects with the mocha lib! An easy to understand template with an architecture you can reproduce in already existing Fable projects.
4. **[withPaket](https://github.com/fable-compiler/fable3-samples/tree/main/withpaket)**, desperate to add many .NET NuGet packages without conflicts? Let's use paket in your project!
5. **[sqljs](https://github.com/fable-compiler/fable3-samples/tree/main/sqljs)**, adding an SQLite database to your web app for additional performance & smooth SQL API!
> *Don't forget to read our lovely hand written README file located in each folder! Thanks and have fun!*