Skip to content

A client-server solution to host jokes using Angular and PHP/MySQL. Alternative React/Vue frontends are WIP.

Notifications You must be signed in to change notification settings

berdal84/jeudemots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jeu De Mots

ui api db

Introduction

Jeu De Mots is a web application to host jokes developed with Angular and PHP.

Try it: https://jeudemots.42borgata.com

Angular Frontend | Slideshow capture

Quick start

Prerequisites

Prerequisites: docker is required.

Launch

Run the following command to build and launch the app:

docker compose up -d

Browse https://localhost:4200/

Post-launch (do once)

Browse https://localhost:4200/#/login and login with the following credentials:

  • username/pass: admin/admin

Once logged, install the app by following the instructions of the install section.

Project files

Quick summary of the project's folder hierarchy:

  • ./ui/ng: Angular sources
  • ./ui/shared: shared code and resources
  • ./ui/react: WIP alternative React sources (deployed at here)
  • ./ui/vue: WIP alternative Vue frontend (deployed at here)
  • ./api: api source
  • ./db: database sources

History

This project started in 2015 during my training at Montpellier Institute of Technology (France), it was developed using AngularJS 1.7.x and has been translated for Angular 2+ in 2019. The old AngularJS repository is still available here).

Later in 2022, I decided to implement a backend in PHP8 to store jokes as a MySQL relational database instead of a JSON file. Additionally, the admin can install/uninstall and restore/backup the table content. After that, I also started to implement alternative frontends using React and Vue, those are still WIP.