jolt-framework

1.0.5 • Public • Published

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

    jolt mklam

Readme

Keywords

none

Package Sidebar

Install

npm i jolt-framework

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

12.7 MB

Total Files

379

Last publish

Collaborators

  • joltframework