Code Monkey home page Code Monkey logo

kanap's Introduction

Kanap

Simulation des différentes pages du site Kanap

English

(cliquez sur ce lien pour consulter directement la version française)

This work is the fifth project of OpenClassrooms Web Developer training.
This repo contains the front-end and back-end of Kanap online shop.
Kanap is a sofa brand that used to sell only through its physical store. This online store is then their first ever.
The work on this repo was focused on the link with the API, and the integration of its elements in the already-constructed pages.

Requirements

This project needs the following tools :
➡️ Node(v18.13.0 or up) : you can download it on Node Website

How to install

1️⃣ Clone or download this repo

2️⃣ From the folder in your Code Editor, open a terminal and go to the back folder

cd back

3️⃣ Type the following instructions to install the project :

npm install

4️⃣ You can the 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.

You're all set !


Français

(click on the link to go directly to the english version)

Ce travail a été réalisé pour le projet 5 de la formation Développeur Web d'OpenClassrooms.
Ce repo contient le front-end et le backend de la boutique en ligne de la société Kanap. Kanap est une marque de canapés qui vendaient ces derniers uniquement en physique dans leur boutique. Ce site est donc leur première boutique en ligne.
Le travail sur ce repo s'est principalement concentré sur le lien avec l'API et l'intégration dynamique des différents éléments de celle-ci avec Javascript. Les pages sont déjà construites en HMTL et CSS.

Pré-requis

Ce project nécessite les outils suivants :

➡️ Node(v18.13.0 ou version ultérieure) : vous pouvez técharger sur le site de Node

Installation

1️⃣ Clonez ou téléchargez ce repo

2️⃣ Depuis le dossier du repo dans votre IDE, ouvrez un terminal et positionnez-vous sur le dossier Back

cd back

3️⃣ Installez le projet à l'aide des commandes suivantes :

npm install

4️⃣ Lancez ensuite le server avec la commande :

node server

Le server fonctionnera sur le localhost et, par défaut, le port 3000.
Si le serveur, pour n'importe quelle raison, fonctionne sur un autre port, celui-ci sera mentionné sur la console avec le messsage suivant Listening on port 3001.

Tout est bon !


kanap's People

Contributors

patariom avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.