Compare commits

...
Sign in to create a new pull request.

4 commits
dev ... master

Author SHA1 Message Date
Nabil Ould Hamou
4f66b5d735
Update README.md 2024-12-18 10:46:53 +01:00
Nabil Ould Hamou
bcca964f31
fix: body size 2024-12-18 10:37:21 +01:00
Nabil Ould Hamou
9a46018399
fix: wrong link 2024-12-18 09:55:25 +01:00
Nabil Ould Hamou
ad28aa3b28
Merge pull request #10 from NabilOuldHamou/dev
dev
2024-12-18 09:41:04 +01:00
6 changed files with 6 additions and 8 deletions

View file

@ -25,15 +25,12 @@ git clone https://github.com/NabilOuldHamou/M1_ProjetWeb
```
<h3>Production</h3>
Installez **Docker** sur votre machine puis utilisez la commande suivante pour lancer le projet
Installez <bold>Docker</bold> sur votre machine puis utilisez la commande suivante pour lancer le projet
```bash
docker compose up
```
<h3>Développement</h3>
TODO
<h2 id="auth">🤝 Auteurs</h2>
<table>

View file

@ -9,6 +9,7 @@ services:
environment:
- DATABASE_URL=mongodb://temp-root-username:temp-password@mongodb/chat_projetweb?authSource=admin
- JWT_SECRET=ba63466f102443f4bb6f3670891358bc4488d0c717f6ebcd3ee3c5144e55fe2d
- BODY_SIZE_LIMIT=Infinity
ports:
- "3000:3000"
networks:

View file

@ -76,7 +76,7 @@
>
<!-- Image de profil -->
<img
src={`http://localhost:5173/${user.profilePicture}`}
src={`https://arbres.oxyjen.io/${user.profilePicture}`}
alt="Profile Picture"
class="h-10 w-10 rounded-full border border-gray-300 cursor-pointer"
/>

View file

@ -26,7 +26,7 @@
<div class="overlay" role="dialog" aria-labelledby="profile-card-title" on:click={onClose}>
<div class="profile-card flex flex-col gap-5" on:click|stopPropagation>
<div class="profile-header">
<img src="http://localhost:5173/{user.profilePicture}" alt="Profile" class="profile-image" />
<img src="https://arbres.oxyjen.io/{user.profilePicture}" alt="Profile" class="profile-image" />
<h2 id="profile-card-title" class="profile-name">{user.username}</h2>
</div>
<div class="profile-info">

View file

@ -10,7 +10,7 @@
>
<div class="flex items-center gap-4">
<img
src={`http://localhost:5173/${user.profilePicture}`}
src={`https://arbres.oxyjen.io/${user.profilePicture}`}
alt="Profile"
class="h-12 w-12 rounded-full border border-gray-300"
/>

View file

@ -2,7 +2,7 @@ import { io } from "socket.io-client";
// Initialisation de la socket
export const initSocket = () => {
const socketInstance = io("http://localhost:5173");
const socketInstance = io("http://localhost:3000");
let socketId = null;
return socketInstance