Skip to content

reactplay/react-play-web-svc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
Nov 27, 2022
Dec 20, 2022
Dec 20, 2022
Jan 22, 2023
Nov 8, 2022
Nov 15, 2022
Nov 27, 2022
Nov 26, 2022
Nov 6, 2022
Jan 22, 2023
Dec 20, 2022
Nov 14, 2022
Nov 15, 2022
Dec 20, 2022
Dec 20, 2022
Nov 14, 2022
Nov 26, 2022
Nov 14, 2022
Dec 20, 2022

Repository files navigation

react-play-web-svc

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

🏗️ How to Set up react-play-web-svc for Development?

⬇️ Install Dependencies

Install the dependencies by running the following command

npm install

Or

yarn install

🦄 Start the Development Mode

Use the following command to start the app in the development mode:

npm start

Or

yarn start

🧱 Build the App for Production

Use the following command to build the app for production:

npm run build

Or

yarn build

Production Environment

Even though the api.reactplay.io is meant for the production URL however your every PR will create a preview build in netlify for validation

Note

  1. 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.
  2. It uses a concept called Netlify Functions, so the entire build output gets populated under functions/server.js
  3. Netlify has size validation for function https://docs.netlify.com/edge-functions/limits/ so its important to keep the build methodology set to esbuild (refer netlify.toml)