easybase-react
v2.2.13
Published
Serverless functionality for React and React Native with Easybase
Downloads
140
Readme
Documentation
Formal documentation for this library is available here.
Information on database querying can be found in the EasyQB docs.
Getting Started
Get your project up and running in just a couple of minutes:
- Download your
ebconfig
token and place it at the root of your project
├── src/
│ ├── App.js
│ ├── index.js
│ └── ebconfig.js <–––
├── assets/
├── package.json
└── ...
- Then, wrap your root component in EasybaseProvider with your credentials.
npm install easybase-react
import React, { useEffect } from "react";
import { EasybaseProvider, useEasybase } from 'easybase-react';
import ebconfig from "./ebconfig";
function App() {
return (
<EasybaseProvider ebconfig={ebconfig}>
<Container />
</EasybaseProvider>
);
}