Skip to content

Latest commit

 

History

History
40 lines (21 loc) · 1.23 KB

README.md

File metadata and controls

40 lines (21 loc) · 1.23 KB

Project 5 Kanap | Construisez un site e-commerce en JavaScript

▶️ Visit the web site of Kanap

https://gulcanc.github.io/OPC_4/

Kanap

The backend has already been developed for this project, my goal is to dynamically integrate API elements into the different web pages with JavaScript.

Technologies

⭐ Fetch Method, GET, POST requests

⭐ setAttribute(name, value), appendChild(), createElement()

⭐ localStorage.getItem(), localStorage.setItem(), JSON.parse(), JSON.stringify()

⭐ window.location.search, urlSearchParams.get

⭐ regular expressions

Back end Prerequisites

You will need to have Node and npm installed locally on your machine.

Back end Installation

Clone this repo. From the "back" folder of the project, run npm install. You can then run the server with node server.

The server should run on localhost with default port 3000. If the server runs on another port for any reason, this is printed to the console when the server starts, e.g. Listening on port 3001.

Open the App in your browser

First be sure whether you have "live server" extension. If you have it, right click index.html file in your text editor and click "Open with live server".