diff --git a/documentation.md b/documentation.md new file mode 100644 index 0000000000000000000000000000000000000000..53a7bed0c8e0c0d3c5fa53bb5a6113bde0d7dc7b --- /dev/null +++ b/documentation.md @@ -0,0 +1,23 @@ +# Documentation +--- + +## Prérequis + +- Un serveur MongoDB sur écoutant sur le port 27017 + +## Lancer le serveur + +```bash +npm run serv_start : lance le serveur +npm run secretKey : génère une clé secrète dans le .env (utilise si la clé actuelle est compromise) +``` + +## Connexion / Routes + +L'adresse http://localhost:3500 permet de se connecter à la page d'accueil. + +Pour la création de compte http://localhost:3500/signup, et http://localhost:3500/login pour la connection. + +Le chemin http://localhost:3500/db donne accès à la base de donnée. + +La création de document se passe ici : http://localhost:3500/document \ No newline at end of file diff --git a/views/signup.ejs b/views/signup.ejs index fda75628b2c7cb3585b046ab5468f29a94186c48..a504c2695b6ea67a27819d330c2ddf952229acac 100644 --- a/views/signup.ejs +++ b/views/signup.ejs @@ -5,6 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Signup Page</title> <link rel="stylesheet" href="/css/signup-style.css"> + <link rel="stylesheet" href="/css/spreadsheet-style.css"> </head> <body> <%- include('partials/header') %>