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.
- Clone the repository.
- Install dependencies.
- Create a
.env
file according to the.env.example
. - Run the development server with
npm start
. - Navigate to the automatically opened tab in the browser.
This project is automatically deployed to Netlify at the url: