This repository contains the checkout page of an E-commerce site designed exclusively for demo purposes.
To set up the project locally, follow these steps:
If you’re running the project for the first time, install the necessary JavaScript packages by running:
npm install
Once dependencies are installed, you can start the project using:
npm start
This project uses Sass for styling. Ensure you have Sass installed globally to compile .scss files into .css.
To install Sass globally, run:
npm install -g sass
After making changes to the Sass files or if running the project for the first time, compile the main Sass file into CSS by running:
sass css/scss/styles.scss css/styles.css
This command will create or update styles.css in the css directory, ensuring the project has the latest compiled styles.
-
Development Mode: Ensure sass --watch is running for automatic compilation during development. You can do this with:
sass --watch css/scss/styles.scss css/styles.css
-
What3words Integration: This project integrates what3words API functionality, allowing users to validate and convert traditional addresses and what3words addresses.