/middlemarch-react

An example application for the Middlemarch tutorial

Primary LanguageJavaScriptMIT LicenseMIT

Middlemarch

Netlify Status

Sample bookstore single page application built with React, serverless Netlify functions and running on Vite. Routing is implemented with the wouter.

Component testing and End-to-end testing is written in Nightwatch.js.

Full tutorial with step-by-step instructions available at:

https://labs.pineview.io/build-test-and-deploy-an-app-react18-vite-netlify-nightwatch/.

There is also a version of the tutorial available for Vue 3+Vite version.

Local development

  1. Clone the repository.
  2. Install dependencies.
  3. Create a .env file according to the .env.example.
  4. Run the development server with npm start.
  5. Navigate to the automatically opened tab in the browser.

Preview

This project is automatically deployed to Netlify at the url:

https://middlemarch-react.netlify.app/