Create a web service for discussion and comments of articles.

Overview

Test technique

But

Créer un service web de discussion et de commentaires d’articles.

Fonctionnalités

Les fonctionnalités attendus sont les suivantes :

  • Pouvoir instancier le service de commentaires sur n’importe quelle page
  • Consulter la liste des commentaires et les réponses aux commentaires
  • Poster un commentaire
  • Poster une réponse a un commentaire
  • Créer un système de notation des commentaire
  • Sécuriser le formulaire de post de commentaires contre les robots
  • S’authentifier via Facebook et/ou Google
  • Mettre en place un système d’autorisation sur les API

Les pages attendues sont :

  • Une page d’accueil qui affichera un bloc contenant les derniers commentaires
  • Une page qui s’appelle page1 qui affiche un texte suivi de son fil de commentaires
  • Une page qui s’appelle page2 qui affiche un texte suivi de son fil de commentaires

Détail technique

Vous avez deux options, la première est de créer une API serverless avec lambda et la deuxième de faire un projet Symfony.

Option1: AWS Lambda

  1. Créer une lambda et une ApiGateway pour la gestion des commentaires.
  2. Créer une index.html pour la page d’accueil
    1. Créer le bloc commentaire
    2. Faire un appel en javascript pour récupérer les derniers commentaires postés
  3. Créer deux pages articles et son bloc commentaire associé
    1. Créer article1.html + script javascript pour récupérer les commentaires de la page
    2. Créer article2.html + script javascript pour récupérer les commentaires de la page

Option 2: PHP Symfony

  1. Créer une api permettant de gérer les commentaires
  2. Créer un front permettant d’afficher une page d’accueil et les articles
    1. Créer une page d’accueil
    2. Créer une route pour les articles

Livrable

L’ensemble du code produit devra être posté sur un GitHub

You might also like...
A simple plugin that replaces the sms channel with Whatsapp Web channel through Wo-Wa Whatsapp service

Mautic Whatsapp Plugin This plugin replaces the SMS channel and allows you to send messages to Whatsapp using the Wo-Wa Whatsapp Web application. Inte

KodExplorer is a file manager for web. It is also a web code editor, which allows you to develop websites directly within the web browser.
KodExplorer is a file manager for web. It is also a web code editor, which allows you to develop websites directly within the web browser.

KodExplorer is a file manager for web. It is also a web code editor, which allows you to develop websites directly within the web browser.

It is an open-source and free project, which is faced with the drawing lovers, providing a free and simple Gallery service
It is an open-source and free project, which is faced with the drawing lovers, providing a free and simple Gallery service

It is an open-source and free project, which is faced with the drawing lovers, providing a free and simple Gallery service

A high-performance license server system service for creating and managing products, major versions, and software licenses for the purpose of selling installable software products.
A high-performance license server system service for creating and managing products, major versions, and software licenses for the purpose of selling installable software products.

A high-performance license server system service for creating and managing products, major versions, and software licenses for the purpose of selling installable software products. Comes with a SDK and command-line tool. Works anywhere that PHP runs.

Making phone calls with PHP and Twilio Voice Service.

TwilioVoice-PHP This is an example implementation of Twilio's phone call API. You can clone this code to your project: git clone https://github.com/P

Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers

Magento 2 SMTP Extension - Gmail, G Suite, Amazon SES, Office 365, Mailgun, SendGrid, Mandrill and other SMTP servers. For Magento 2.0.x, 2.1.x, 2.2.x

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.

Dubbox now means Dubbo eXtensions. If you know java, javax and dubbo, you know what dubbox is :) Dubbox adds features like RESTful remoting, Kyro/FST

A fully-managed real-time messaging service that allows you to send and receive messages between independent applications.

A fully-managed real-time messaging service that allows you to send and receive messages between independent applications.

MOFHY Lite is a priceless MyOwnFreeHost Client Area for account management, ticket support system and a free ssl service

MOFHY Lite is a priceless MyOwnFreeHost Client Area for account management, ticket support system and a free ssl service. It has easy to use features much like the WHMCS Digit UI interface.

Owner
Mathieu Ledru
French Developer #Symfony #ReactJS #n8n #Freelance #Remote
Mathieu Ledru
Extracts information about web pages, like youtube videos, twitter statuses or blog articles.

Essence is a simple PHP library to extract media information from websites, like youtube videos, twitter statuses or blog articles. If you were alread

Essence 765 Dec 30, 2022
A curated list of awesome Laravel bookmarks, packages, tools, articles, tutorials and related resources.

ATTENTION: This list is obsolete and discontinued. Please find a much more comprehensive, much more well-maintained awesome-laravel list at chiraggude

Unnawut Leepaisalsuwanna 96 Aug 5, 2022
🎓 Collection of useful PHP frequently asked questions, articles and best practices

PHP.earth documentation These files are available online at PHP.earth. Contributing and license We are always looking forward to see your contribution

PHP.earth 278 Dec 27, 2022
Enable Facebook Instant Articles on your WordPress site.

Instant Articles for WP Enable Instant Articles for Facebook on your WordPress site. Plugin activity Description This plugin adds support for Instant

Automattic 633 Nov 21, 2022
🖍 Write beautiful blog articles using Markdown inside your Laravel app.

Blogged Write beautiful blog articles using Markdown inside your Laravel app. Blogged ?? Blogged is a carefully designed Laravel package provides an e

Saleem Hadad 131 Dec 16, 2022
Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.

TARS - A Linux Foundation Project TARS Foundation Official Website TARS Project Official Website WeChat Group: TARS01 WeChat Offical Account: TarsClou

THE TARS FOUNDATION PROJECTS 9.6k Jan 1, 2023
Tool to remove code based on specific comments.

PHP-DEL Tool to remove code based on specific comments. Configuration Create php-del.json in the root directory of the project { "dirs": [ "src"

KenjiroKubota 16 Dec 25, 2022
Flarum Post Comments - A Flarum extension.

Flarum Post Comments A Flarum extension. Make sure to comment on the answers and list the comments below the answers. Installation Install with compos

Selçuk Kılıç 2 Sep 22, 2022
Greyhole uses Samba to create a storage pool of all your available hard drives, and allows you to create redundant copies of the files you store.

Greyhole Greyhole is an application that uses Samba to create a storage pool of all your available hard drives (whatever their size, however they're c

Guillaume Boudreau 245 Dec 18, 2022