8base Application Example with authentication and CRUD
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
client chore(client): updates sdk Feb 20, 2019
.gitignore build: replace yarn.lock with package-lock. update CRA to 2 version Nov 30, 2018
LICENSE Initial commit Nov 7, 2018
README.md Added info about logs Dec 12, 2018
apollo.config.js simplified code Feb 2, 2019


8base App Example

Server Setup

  • Sign up 8base account;
  • Install 8base CLI npm install -g 8base;
  • Login using CLI 8base login;
  • Go to the server directory cd server;
  • Install dependencies npm install;
  • Deploy custom functions 8base deploy;
  • Import schema and data via 8base import -f=DEMO.JSON;

Client Setup

  • Go to the client directory cd client;
  • Install dependencies npm install;
  • Get 8base API endpoint for your account;
  • Start app via cross-env REACT_APP_8BASE_API_ENDPOINT=%YOUR_ENDPOINT% npm start;
  • Login to the app with your 8base credentials;
  • Explore it.

Getting logs

To get logs from the listingShare custom function use 8base logs listingShare. Learn more about local development tools in our docs.