Skip to main content

Getting started

Setup local development#

  1. Install all package dependencies using npm: npm i
  2. Start the application: npm start
  3. The application should now be accessible at http://localhost:3000

By default, the application will refer backend requests to the Production WordPress API (klemich.snarkiedesign.com.au/wp-json/wp/v2/). You can configure your local development to direct requests to a local WordPress instance on port 8888 using npm run start:local. If you require a different port, you can edit this script in package.json.

You can run a local production build using npm build. It can be helpful to run this before attempting a deploy to ensure there are no compilation errors.

Requirements#

  • Node.js

Recommended IDE plugins#

  • EditorConfig
  • ESLint