Skip to content

REVREBEL/revrebel.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<<<<<<< Updated upstream

Resource-Hub-React

Welcome to the Resource Hub by REVREBEL, a go-to library for content guides. and all things related to hotel performance, system confirmation, and profit optimization to name a few.

In case you're just meeting us for the first time, REVREBEL is a hotel revenue generation agency centric and exclusive to the bold & brave independent hotel community. We offer services, resources, documentation, and training guides, along with other helpful recommendations to help our hotel partners succeed.

Whether you're a client or a partner, we know you'll find insights & content on our Resource Hub. Explore our custom Content & training guides. or engage with fellow industry professionals in our Community Colab.

Join us on this journey to elevate your hotel's performance and drive sustainable growth.

Netlify Status

netlify-cms-react-example

Edit netlify-cms-app Example

Process to create this example

Create the react app using create-react-app

$ git clone https://github.com/ADARTA/netlify-cms-react-example.git
$ cd netlify-cms-react-example
$ yarn start

Create the the development proxy for the backend api

$ yarn add netlify-cms-proxy-server --dev

src/setupProxy.js is recognized by the webpack setup in react-scripts, so we use the middleware script from netlify-cms-proxy-server/dist/middlewares/registerLocalFs to create the /api/v1 endpoint.

Note: this feature is available with [email protected] and higher.

src/setupProxy.js

const {
  registerLocalFs,
} = require("netlify-cms-proxy-server/dist/middlewares");

module.exports = function (app) {
  registerLocalFs(app);
};

Test the API endpoint by starting the development server using npm run start or yarn start. The proxy api will give you a message telling you the root and site path in the terminal. Browsing to http://localhost:3000/api/v1 will confirm the API is up and running by returning a json error object letting you know it is the root of the api.

Creating your custom CMS application

This starter can be the beginning custom CMS or we can use this as a test for an existing NetlifyCMS configuration. Just clone the repository or download.

$ yarn install
$ yarn start

Learn More

This project was bootstrapped with Create React App.

You can learn more in the Create React App documentation.

Stashed changes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published