React Play web service is basically a backend application to ReactPlay. This is a node application destined to resides within netlify ecosystem on api.reactplay.io
For more information refer React Play Gihub Repo
Install the dependencies by running the following command
npm installOr
yarn installUse the following command to start the app in the development mode:
npm startOr
yarn startUse the following command to build the app for production:
npm run buildOr
yarn buildEven though the api.reactplay.io is meant for the production URL however your every PR will create a preview build in netlify for validation
- As the application is targetted for netlify environment, you might notice some .netlify directory be created when you build it, you can safely ignore it.
- It uses a concept called Netlify Functions, so the entire build output gets populated under
functions/server.js - Netlify has size validation for function https://docs.netlify.com/edge-functions/limits/ so its important to keep the build methodology set to
esbuild(refernetlify.toml)