Awesome
<br /> <br /> <p align="center"> <a href="https://easybase.io"> <img src="https://easybase.io/assets/images/logo_black.png" alt="easybase logo black" width="80" height="80"> </a> </p> <br /> <p align="center"> <img alt="npm" src="https://img.shields.io/npm/dw/easybase-react"> <img alt="GitHub" src="https://img.shields.io/github/license/easybase/easybase-react"> <img alt="npm bundle size" src="https://img.shields.io/bundlephobia/min/easybase-react"> <img alt="npm" src="https://img.shields.io/npm/v/easybase-react"> </p> <h3 align="center"> <b> <a href="https://easybase.io/react/"> Check out the full React & React Native walkthrough šš </a> </b> </h3> <br /> <!-- DOCUMENTATION -->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>
);
}