Skip to content

Instantly share code, notes, and snippets.

View DWS-paris's full-sized avatar
🎯
Focusing on educational engineering

Julien Noyer DWS-paris

🎯
Focusing on educational engineering
View GitHub Profile

Instructions pour l'exercice PWA

Afin de vous permettre de manipuler et de mieux appréhender les techniques que nous avons abordé, vous devez réaliser les étapes suivantes :

  • En tant que USER je peux voir le liste des articles
  • En tant que USER je peux créer un article
  • En tant que USER quand je créé un article il s'ajoute dans la liste des articles
  • En tant que USER je peux cliquer sur un article pour l'afficher
  • En tant que USER quand je lis un article je peux lire les commentaires de l'article
  • En tant que USER quand je lis un article je peux le commenter
  • En tant que USER quand je commente un article il s'ajoute automatiquement dans la liste des commentaires
const openapiSpecification = {
openapi: "3.0.0",
info: {
title: "Popcorn Movie API",
description: "Popcon Movie is a school project realized to manipulate API technology in Javascript.",
specification: "https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md",
contact: {
name: "API Support",
email: "contact@popconrmovie.com"
},

DWS Legalstorm API RestFull



API Documentation

API documentation is separated by main endpoint, you can see a complete liste of avaible route on the main route of the API when your local server is launched: http://localhost:8734/v1.

title tags robots author
Configurer un VPS
tuto, vps, server
noindex, nofollow
Julien Noyer

Héberger une application MEAN sur un VPS

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Promise all</title>
</head>
<body>
<script>

fetch.class.js

class FETCHrequest {

    constructor(url, requestType, data = null) {
        this.url = url;
        this.requestType = requestType;
        this.data = data;
[
{
"question": "1 lorem......",
"response": { "oui": "./img/oui.png", "non": "./img/non.png" }
},
{
"question": "2 Ipsum......",
"response": { "oui": "./img/non.png", "non": "./img/oui.png" }
},
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>