Formal documentation for this library is available here.
Information on database querying can be found in the EasyQB docs.
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>
);
}