This Layr example app is deprecated.
A simple example showing how to build a full-stack CRUD app with Layr and React Native.
Make sure you have React Native development environment properly set up.
Make sure you have Docker installed as it is used to run the database (MongoDB) when running the app in development mode.
Install the npm dependencies:
npm installStart the development environment:
BACKEND_URL=http://localhost:16578 \
MONGODB_STORE_CONNECTION_STRING=mongodb://test:test@localhost:16579/test \
npm run startRun the app in the iOS simulator:
npm run run:iosAdd the following environment variables when starting the development environment:
DEBUG=layr:* DEBUG_DEPTH=10