Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

A simple example showing how to build a full-stack CRUD app with Layr and React Native

Notifications You must be signed in to change notification settings

layrjs/crud-example-app-react-native-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD Example App (React Native)

This Layr example app is deprecated.

A simple example showing how to build a full-stack CRUD app with Layr and React Native.

Install

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 install

Usage

Running the app in development mode

Start the development environment:

BACKEND_URL=http://localhost:16578 \
  MONGODB_STORE_CONNECTION_STRING=mongodb://test:test@localhost:16579/test \
  npm run start

Run the app in the iOS simulator:

npm run run:ios

Debugging

Server

Add the following environment variables when starting the development environment:

DEBUG=layr:* DEBUG_DEPTH=10

About

A simple example showing how to build a full-stack CRUD app with Layr and React Native

Resources

Stars

Watchers

Forks