Coder Social home page Coder Social logo

preact-example's Introduction

KintoHub Preact Example

Overview

Preact is a fast 3kB alternative to React with the same modern API.

Live Example

About KintoHub:

KintoHub aligns teams to ship & operate cloud native apps with ease. Learn More

Deployment

  1. Apply this template to your Github
  2. Connect your GithubApp to KintoHub.
  3. Create a Website Block on KintoHub and select the Repository you just generated on your account.
  4. Select Static from Build
  5. Set the name of your kinto block
  6. Choose Node.js as the language and 13.1-alpine as the version
  7. Set the Build Command as npm install && npm run build
  8. Set the Build Folder as /build

You're now good to go! Click Create Website and then on your Master branch click Build Latest Commit.

Once complete, Click Now click Add To Project. And now you're ready to go live Click Deploy and once done -> you can view your website by clicking Open

Installation & Local Run

# Installs dependencies
npm install
# Runs `serve` or `dev`, depending on `NODE_ENV` value. Defaults to `dev server`
npm run start
# Run a development, HMR server
npm run dev
# Run a production-like server
npm run serve
# Production-ready build
npm run build

For detailed explanation on how things work, checkout the CLI Readme.

Test

# Pass TypeScript files using TSLint
npm run lint
# Run Jest and [`preact-render-spy`](https://github.com/mzgoddard/preact-render-spy) for your tests
npm run test

What's Next?

You can do a lot with KintoHub and your deployed application. Some helpful links for next steps that you may consider with this project.

Happy coding!

preact-example's People

Contributors

keblodev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.