10
Watch
7
Star
8
Fork
0
Issue
marmelab
marmelab
pushedAt 2 months ago

marmelab/ra-enterprise-demo

React-admin Enterprise Edition Demo

This is a demo of the react-admin framework augmented by Enterprise Edition modules. It shows a working administration for a fake poster shop named Posters Galore. It is a modified version of the Posters Galore Open-source demo.

You can test it online at https://marmelab.com/ra-enterprise-demo.

react-admin-demo

React-admin usually requires a REST/GraphQL server to provide data. In this demo however, the API is simulated by the browser (using FakeRest). The source data is generated at runtime by a package called data-generator.

To explore the source code, start with src/App.js.

Note: This project was bootstrapped with Create React App.

How to run

  1. Setup your credentials to marmelab registry in .npmrc

  2. Install dependencies

make install
  1. Run
make start

Available Scripts

In the project directory, you can run:

make start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

make deploy

Build and deploy the app to gh-pages.

make build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

ucloud ads