How alliiissonnee/aux-cr-as-de-marie works
Aux créas de Marie is a handmade-goods shop with public browsing, custom requests and guest checkout, plus an administration area. Customers browse the database-backed gallery, manage a browser cart, submit an order for server-side pricing and Stripe Checkout, then return for payment confirmation and email. Marie manages creations, requests, orders, shipment tracking and sales statistics. The map combines documented capabilities with sampled PHP calls; unsampled page wiring is represented only where the README documents it.
Main entry points: config.php MySQL shop data · orders.js Order management · confirm_order.php Payment verification · requests.js Request management
Components 32
Public shop
- Shop and cart
Front/js/site.js - Cookie consent
Front/js/cookies.js - Google Analytics
- Custom request form
Front/js/site.js - Request intake
Back/api/add_request.php
Orders and delivery
- Order and checkout
Back/api/create_order.php - Stripe Checkout
- Order confirmation page
Front/js/order_success.js - Payment verification
Back/api/confirm_order.php - Shipment dispatch
Back/api/update_order_tracking.php - Parcel lookup
Back/api/track_order.php - La Poste Okapi
Administration
- Request management
Front/js/requests.js - Request operations
Back/api/requests.php - Request status actions
Back/api/update_requests_status.php - Request deletion
Back/api/delete_request.php - Admin sign-in
Front/js/login.js - Session and access
Back/api/admin_check.php - Session lifetime
Back/api/start_session.php - Creation management
Front/js/admin.js - Creation writes
Back/api/add_card.php - Creation edits
Back/api/edit_card.php - Creation deletion
Back/api/delete_card.php - Order management
Front/js/orders.js - Order listing
Back/api/orders.php - Order status updates
Back/api/update_order_status.php - Sales dashboard
Front/js/stats.js - Sales statistics
Back/api/stats.php
Persistence and integrations
- MySQL shop data
Back/api/config.php - Email delivery
Back/api/mailer.php
Other components
- Customer
- Marie (admin)
Connections 46
- Customer → Shop and cart: browses and orders
README.md - Shop and cart → MySQL shop data: loads gallery
README.md - Customer → Custom request form: submits request
README.md - Custom request form → Request intake: sends request
README.md - Request intake → MySQL shop data: saves request
Back/api/add_request.php - Request intake → Email delivery: notifies admin
Back/api/add_request.php - Cookie consent → Google Analytics: loads after consent
README.md - Marie (admin) → Admin sign-in: signs in
README.md - Admin sign-in → Session and access: authenticates
README.md - Session and access → Session lifetime: starts session
Back/api/admin_check.php - Marie (admin) → Creation management: manages creations
README.md - Creation management → Creation writes: adds creations
README.md - Creation management → Creation edits: edits creations
README.md - Creation management → Creation deletion: deletes creations
README.md - Creation writes → Session and access: checks access
Back/api/add_card.php - Creation writes → MySQL shop data: inserts creation
Back/api/add_card.php - Creation edits → MySQL shop data: updates creation
Back/api/edit_card.php - Marie (admin) → Request management: reviews requests
README.md - Request management → Request operations: lists requests
README.md - Request management → Request status actions: changes status
README.md - Request management → Request deletion: removes request
README.md - Request operations → MySQL shop data: reads requests
README.md - Request status actions → MySQL shop data: updates status
README.md - Request deletion → MySQL shop data: deletes request
README.md - Customer → Order and checkout: submits cart
README.md - Order and checkout → MySQL shop data: prices and records order
Back/api/create_order.php - Order and checkout → Stripe Checkout: creates checkout
Back/api/create_order.php - Stripe Checkout → Order confirmation page: returns after payment
README.md - Order confirmation page → Payment verification: verifies payment
README.md - Payment verification → Stripe Checkout: checks payment
Back/api/confirm_order.php - Payment verification → MySQL shop data: updates order
Back/api/confirm_order.php - Payment verification → Email delivery: sends confirmations
Back/api/confirm_order.php - Marie (admin) → Order management: manages orders
README.md - Order management → Order listing: loads orders
README.md - Order management → Order status updates: updates status
README.md - Order management → Shipment dispatch: sets tracking number
README.md - Order management → Parcel lookup: checks parcel
README.md - Order listing → MySQL shop data: reads orders
README.md - Order status updates → MySQL shop data: updates status
README.md - Shipment dispatch → MySQL shop data: saves tracking
Back/api/update_order_tracking.php - Shipment dispatch → Email delivery: sends tracking email
Back/api/update_order_tracking.php - Parcel lookup → MySQL shop data: reads tracking number
Back/api/track_order.php - Parcel lookup → La Poste Okapi: requests parcel status
Back/api/track_order.php - Marie (admin) → Sales dashboard: views sales
README.md - Sales dashboard → Sales statistics: loads statistics
README.md - Sales statistics → MySQL shop data: queries sales
README.md