<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://slamwiki2.kobject.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://slamwiki2.kobject.net/feed.php">
        <title>SlamWiki 2.1 web:framework:nextjs</title>
        <description></description>
        <link>http://slamwiki2.kobject.net/</link>
        <image rdf:resource="http://slamwiki2.kobject.net/lib/tpl/bootstrap3/images/favicon.ico" />
       <dc:date>2026-05-18T12:31:52+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://slamwiki2.kobject.net/web/framework/nextjs/api?rev=1775697002&amp;do=diff"/>
                <rdf:li rdf:resource="http://slamwiki2.kobject.net/web/framework/nextjs/client-component?rev=1775209926&amp;do=diff"/>
                <rdf:li rdf:resource="http://slamwiki2.kobject.net/web/framework/nextjs/http-service?rev=1775210676&amp;do=diff"/>
                <rdf:li rdf:resource="http://slamwiki2.kobject.net/web/framework/nextjs/nextauth?rev=1754958903&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://slamwiki2.kobject.net/lib/tpl/bootstrap3/images/favicon.ico">
        <title>SlamWiki 2.1</title>
        <link>http://slamwiki2.kobject.net/</link>
        <url>http://slamwiki2.kobject.net/lib/tpl/bootstrap3/images/favicon.ico</url>
    </image>
    <item rdf:about="http://slamwiki2.kobject.net/web/framework/nextjs/api?rev=1775697002&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-09T03:10:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Mock API Padel</title>
        <link>http://slamwiki2.kobject.net/web/framework/nextjs/api?rev=1775697002&amp;do=diff</link>
        <description>Mock API Padel

Données

Types

data.ts



Joueurs



Equipes



Tournois



Matchs



Helpers

utils/helpers.ts


Routes

Joueurs

GET /api/players



GET /api/players/[id]



Équipes

GET /api/teams



GET /api/teams/[id]



Tournois

GET /api/tournaments</description>
    </item>
    <item rdf:about="http://slamwiki2.kobject.net/web/framework/nextjs/client-component?rev=1775209926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-03T11:52:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Composants client</title>
        <link>http://slamwiki2.kobject.net/web/framework/nextjs/client-component?rev=1775209926&amp;do=diff</link>
        <description>Composants client

Dès qu&#039;on utilise :

	*  useState
	*  useEffect
	*  interaction utilisateur

Il faut un composant client et déclarer :

Exemple :


Hooks de base

useState



useEffect



useRouter (navigation)



useParams (récupérer ID côté client)</description>
    </item>
    <item rdf:about="http://slamwiki2.kobject.net/web/framework/nextjs/http-service?rev=1775210676&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-03T12:04:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Service HTTP</title>
        <link>http://slamwiki2.kobject.net/web/framework/nextjs/http-service?rev=1775210676&amp;do=diff</link>
        <description>Service HTTP

1. Centralisation des routes

Objectif : éviter les strings en dur et structurer les endpoints.


2. Client HTTP générique

Permet de gérer toutes les requêtes (GET, POST, etc.)


3. Méthodes HTTP exposées



4. Service métier (Events)</description>
    </item>
    <item rdf:about="http://slamwiki2.kobject.net/web/framework/nextjs/nextauth?rev=1754958903&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-12T02:35:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Next-auth</title>
        <link>http://slamwiki2.kobject.net/web/framework/nextjs/nextauth?rev=1754958903&amp;do=diff</link>
        <description>Next-auth

Permet de gérer l&#039;authentification sur une application nextJS en utilisant différent Provider. A l&#039;avantage d&#039;utiliser la session nextJS.

Installation



Configuration



Route api

Toutes les requêtes NextAuth passeront par cette route :</description>
    </item>
</rdf:RDF>
