Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/easybase/easybase-react

📡 Serverless database integration for React and React Native with Easybase.
https://github.com/easybase/easybase-react

easybase node nodejs react react-native reactjs serverless

Last synced: about 2 months ago
JSON representation

📡 Serverless database integration for React and React Native with Easybase.

Awesome Lists containing this project

README

        






easybase logo black



npm
GitHub
npm bundle size
npm




Check out the full React & React Native walkthrough 📗📘



## Documentation

Formal documentation for this library [is available here](https://easybase.io/docs/easybase-react/).

Information on **database querying** [can be found in the EasyQB docs](https://easybase.github.io/EasyQB/).

## Getting Started

[Get your project up and running in just a couple of minutes](https://easybase.io/react/#setup):

1. Download your `ebconfig` token and place it at the root of your project

```
├── src/
│ ├── App.js
│ ├── index.js
│ └── ebconfig.js <–––
├── assets/
├── package.json
└── ...
```

2. Then, wrap your root component in *EasybaseProvider* with your credentials.
```
npm install easybase-react
```

```jsx
import React, { useEffect } from "react";
import { EasybaseProvider, useEasybase } from 'easybase-react';
import ebconfig from "./ebconfig";

function App() {
return (



);
}
```

## Examples

* [Single Component User Authentication](https://easybase.io/react-and-react-native-user-authentication/)

* [Stateful Database](https://easybase.io/react-database-app-tutorial/)

* [Google Analytics Integration](https://easybase.io/react/#google-analytics-integration)

## Contact

[@easybase_io](https://twitter.com/easybase_io) – [email protected]