1.0.5 • Published 3 years ago

jolt-framework v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Jolt

Jolt is a framework for testing and deploying JAMstack apps with serverless functions.

Getting Started

  1. Install Jolt

    npm i -g jolt-framework

  2. Create an app

    npx create-react-app jolt-first-project
    cd jolt-first-project

    paste the isnto the contents of src/App.js

    function App() {
      return (
        <script>
          fetch(".functions/helloWorld").then(res => console.log(res))
        </script>
      );
    }
    
    export default App;
  3. Create a functions folder

    mkdir functions
  4. Jolt init

    jolt init
  5. Add helloWorld function

  ```bash
  jolt mklam
  ```