Compare commits
185 Commits
Author | SHA1 | Date |
---|---|---|
Thomas CHAZOT | 509c95c2b8 | 6 months ago |
Thomas CHAZOT | c7925ad300 | 6 months ago |
Thomas CHAZOT | 03bf4881c1 | 6 months ago |
Thomas CHAZOT | ba7ab92ce5 | 6 months ago |
Thomas CHAZOT | cb6a540673 | 7 months ago |
Thomas CHAZOT | 1e5bc54fa1 | 7 months ago |
Thomas CHAZOT | e340436158 | 7 months ago |
Thomas Chazot | 09048e8531 | 7 months ago |
Thomas Chazot | 804eb670b8 | 7 months ago |
Thomas Chazot | 425cdfaf79 | 7 months ago |
Thomas Chazot | 9d082bb5d5 | 7 months ago |
Thomas Chazot | 4f8cacebca | 7 months ago |
Thomas Chazot | 2c6d9d08db | 7 months ago |
Thomas Chazot | c8c33c5e2e | 7 months ago |
Thomas Chazot | f5f0a56c5e | 7 months ago |
Thomas Chazot | 9b4213ac32 | 7 months ago |
Thomas CHAZOT | 78e35c446c | 7 months ago |
Thomas CHAZOT | b86d513a54 | 7 months ago |
Thomas Chazot | 1ad0e74b70 | 7 months ago |
Thomas Chazot | 7bc1a7059f | 7 months ago |
Thomas Chazot | 27444a2f4e | 7 months ago |
Thomas Chazot | c49a547861 | 7 months ago |
Thomas Chazot | 28139f96b0 | 7 months ago |
Thomas Chazot | 9448857bc6 | 7 months ago |
Thomas Chazot | 688634ac8b | 7 months ago |
Thomas Chazot | 350fcbf0b0 | 7 months ago |
Thomas Chazot | 638fd465b9 | 7 months ago |
Thomas Chazot | 84304ee1b5 | 7 months ago |
Thomas Chazot | 26ca450c16 | 7 months ago |
Thomas Chazot | 9447149ff7 | 7 months ago |
Thomas Chazot | 0b471d0eac | 7 months ago |
Thomas Chazot | c21a971601 | 7 months ago |
Thomas Chazot | f606711cb6 | 7 months ago |
Thomas Chazot | 3ec900b2d6 | 7 months ago |
Thomas Chazot | 710e1bbd53 | 7 months ago |
Thomas Chazot | c2fae58875 | 7 months ago |
Thomas Chazot | bfc2f377cc | 7 months ago |
Thomas Chazot | 5b7f57b1aa | 7 months ago |
Thomas Chazot | d2c776a043 | 7 months ago |
Thomas Chazot | c0372051e0 | 7 months ago |
Thomas Chazot | 33b4f7368f | 7 months ago |
Thomas Chazot | f30035600c | 7 months ago |
Thomas Chazot | 72fc8b4f37 | 7 months ago |
Thomas CHAZOT | 5731a3f582 | 7 months ago |
Thomas Chazot | d59753def6 | 7 months ago |
Thomas Chazot | aaa0a5ee87 | 7 months ago |
Thomas Chazot | f97751c7a4 | 7 months ago |
Thomas CHAZOT | b62d567cbb | 7 months ago |
Thomas CHAZOT | 774e4c92b7 | 7 months ago |
Thomas Chazot | f0e5ec7128 | 7 months ago |
Thomas Chazot | e560346ce3 | 7 months ago |
Thomas CHAZOT | 0fdfdc4da6 | 7 months ago |
Thomas CHAZOT | bb2cf53ee8 | 7 months ago |
Thomas CHAZOT | 898bbf787d | 7 months ago |
Thomas CHAZOT | b954641e81 | 7 months ago |
Thomas Chazot | 5901d8eb00 | 7 months ago |
Thomas CHAZOT | 6264f6192c | 7 months ago |
Thomas Chazot | 7fb3770aa8 | 7 months ago |
Thomas Chazot | 48f0fe44a5 | 7 months ago |
Thomas CHAZOT | 31818f5b17 | 7 months ago |
Thomas CHAZOT | f7099da36f | 7 months ago |
Thomas CHAZOT | 49a5890b6d | 7 months ago |
Thomas CHAZOT | 83bba8fa0b | 7 months ago |
Thomas CHAZOT | aa43e21d71 | 7 months ago |
Thomas CHAZOT | 197c706b90 | 7 months ago |
Thomas CHAZOT | 4e450c3449 | 7 months ago |
Thomas CHAZOT | d75ba65f84 | 7 months ago |
Thomas CHAZOT | 3bd75b520e | 7 months ago |
Thomas CHAZOT | 58388609ba | 7 months ago |
Thomas CHAZOT | 14fd2d23a0 | 7 months ago |
Thomas Chazot | b08be2bb45 | 7 months ago |
Thomas Chazot | 8527824948 | 7 months ago |
Thomas Chazot | 1720499018 | 7 months ago |
Thomas Chazot | 24b0d7702b | 7 months ago |
Thomas Chazot | 8ec3ca9f4c | 7 months ago |
Thomas Chazot | 3e74b76898 | 7 months ago |
Thomas Chazot | bce6ac6ff7 | 7 months ago |
Thomas Chazot | 8fbebd1d2c | 7 months ago |
Thomas Chazot | 69532fc170 | 7 months ago |
Thomas Chazot | 6c7c81a5a0 | 7 months ago |
Thomas Chazot | 96e4d50db4 | 7 months ago |
Thomas Chazot | 11365b06a4 | 7 months ago |
Thomas Chazot | acf4258d58 | 7 months ago |
Thomas CHAZOT | bd6ef389e1 | 7 months ago |
Thomas CHAZOT | efc66f59a4 | 7 months ago |
Thomas Chazot | c92ec668aa | 7 months ago |
Thomas Chazot | c788952c7b | 7 months ago |
Thomas CHAZOT | c481373f5e | 7 months ago |
Thomas CHAZOT | 58e39a4b6b | 7 months ago |
Thomas CHAZOT | b78b4811a4 | 7 months ago |
Thomas CHAZOT | 7019820cdc | 7 months ago |
Thomas Chazot | e4af27c6f3 | 7 months ago |
Thomas CHAZOT | 8ffa44a89d | 7 months ago |
Thomas CHAZOT | 3eddd9abf9 | 7 months ago |
Thomas CHAZOT | 5bab2ff478 | 7 months ago |
Thomas CHAZOT | 64d842224c | 7 months ago |
Thomas Chazot | 4a17230e04 | 7 months ago |
Thomas CHAZOT | 9793c4117a | 7 months ago |
Thomas CHAZOT | 92d346a6d3 | 7 months ago |
Thomas CHAZOT | 5d458d0169 | 7 months ago |
Thomas CHAZOT | eaed32c250 | 7 months ago |
Thomas CHAZOT | af0e04f0d1 | 7 months ago |
Thomas CHAZOT | 86d8f16726 | 7 months ago |
Thomas CHAZOT | 3d67c9a864 | 7 months ago |
Thomas Chazot | 3b2e876af2 | 7 months ago |
Thomas Chazot | 80d774e7f3 | 7 months ago |
Thomas Chazot | cd7dd233e8 | 7 months ago |
Thomas Chazot | ca511b1b73 | 7 months ago |
Thomas Chazot | 93e054d477 | 7 months ago |
Thomas Chazot | 87ba7f92da | 7 months ago |
Thomas CHAZOT | 70128251f8 | 7 months ago |
Thomas CHAZOT | 01c08e0214 | 7 months ago |
Thomas CHAZOT | 878080bf34 | 7 months ago |
Thomas CHAZOT | 6c8e797740 | 7 months ago |
Thomas CHAZOT | aa795d1d61 | 7 months ago |
Thomas Chazot | 41217810fe | 7 months ago |
Thomas CHAZOT | 51fd2d51ef | 7 months ago |
Thomas CHAZOT | 868562839b | 7 months ago |
Thomas CHAZOT | aae1019360 | 7 months ago |
Thomas Chazot | 12f76e928c | 7 months ago |
Thomas Chazot | 1092fc36d0 | 7 months ago |
Thomas CHAZOT | df20a416a1 | 7 months ago |
Thomas CHAZOT | 5cc4ca31a5 | 7 months ago |
Thomas CHAZOT | 3b21819a9d | 7 months ago |
Thomas CHAZOT | eab829191d | 7 months ago |
Thomas Chazot | 01f7918430 | 7 months ago |
Thomas Chazot | 5cbc92834c | 7 months ago |
Thomas Chazot | b7eeff29f8 | 7 months ago |
Thomas CHAZOT | cf255534cf | 7 months ago |
Thomas CHAZOT | debb8776da | 7 months ago |
Thomas CHAZOT | 4ebad1d11f | 7 months ago |
Thomas CHAZOT | 6818eb8f02 | 7 months ago |
Thomas CHAZOT | 8befaa53c2 | 7 months ago |
Thomas CHAZOT | 330a0ad525 | 7 months ago |
Thomas CHAZOT | 6c3a92cc22 | 7 months ago |
Thomas CHAZOT | a773956c34 | 7 months ago |
Thomas Chazot | fcbb77dcf5 | 7 months ago |
Thomas Chazot | a41a0821f5 | 7 months ago |
Thomas CHAZOT | 3407d0d291 | 7 months ago |
Thomas CHAZOT | 24821e4f27 | 7 months ago |
Thomas CHAZOT | 50bf9a7f6b | 7 months ago |
Thomas CHAZOT | c008089aa1 | 7 months ago |
Thomas CHAZOT | ca164707a8 | 7 months ago |
Thomas CHAZOT | e35232fc5e | 7 months ago |
Thomas CHAZOT | fa71a8d103 | 7 months ago |
Thomas CHAZOT | 4e0dea5621 | 7 months ago |
Thomas CHAZOT | cdb262ca5f | 7 months ago |
Thomas CHAZOT | 84e8a3605e | 7 months ago |
Thomas CHAZOT | cc86ea9ecc | 7 months ago |
Thomas CHAZOT | c36328a9f0 | 7 months ago |
Thomas CHAZOT | 75ccf78c4e | 7 months ago |
Thomas CHAZOT | 7d6021c44f | 7 months ago |
Thomas CHAZOT | 7d71d6ec81 | 7 months ago |
Thomas CHAZOT | c3d217f422 | 7 months ago |
Thomas CHAZOT | 79ef5b07e3 | 7 months ago |
Thomas CHAZOT | 0282bad2cc | 7 months ago |
Thomas CHAZOT | 81063023f8 | 7 months ago |
Thomas CHAZOT | 5735b5a947 | 7 months ago |
Thomas CHAZOT | 2f8f0f1032 | 7 months ago |
Thomas CHAZOT | f79e8b6312 | 7 months ago |
Thomas CHAZOT | 9bef039161 | 7 months ago |
Thomas CHAZOT | 43dfa56c9d | 7 months ago |
Thomas CHAZOT | 6affd439d0 | 7 months ago |
Thomas CHAZOT | 78d79a7514 | 7 months ago |
Thomas CHAZOT | f1734b7d6b | 7 months ago |
Thomas CHAZOT | 99b6250ec0 | 7 months ago |
Thomas CHAZOT | 629363200d | 7 months ago |
Thomas CHAZOT | 0f6ad89476 | 7 months ago |
Thomas CHAZOT | 1d9bb237d7 | 7 months ago |
Thomas CHAZOT | 72e88a0c09 | 7 months ago |
Thomas CHAZOT | 636ab43089 | 7 months ago |
Thomas CHAZOT | 6743afdac6 | 7 months ago |
Thomas CHAZOT | b9395620df | 7 months ago |
Thomas CHAZOT | d2d2855eba | 7 months ago |
Thomas CHAZOT | 476129c01e | 7 months ago |
Thomas CHAZOT | bc7a999ba9 | 7 months ago |
Thomas CHAZOT | 7d3a02549c | 7 months ago |
Thomas CHAZOT | 2e5c4dc98f | 7 months ago |
Thomas CHAZOT | 5307512078 | 7 months ago |
Thomas CHAZOT | 3722f55f2f | 7 months ago |
Thomas CHAZOT | 437bc9327b | 7 months ago |
Thomas CHAZOT | 1b0ee4688c | 7 months ago |
Thomas CHAZOT | 28186ae6ef | 7 months ago |
Thomas CHAZOT | 5310c47344 | 7 months ago |
Thomas CHAZOT | 69049b0e24 | 7 months ago |
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
# Use the official Node.js image
|
||||
FROM node:14
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Copy package.json and package-lock.json to the working directory
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the rest of the application code
|
||||
COPY . .
|
||||
|
||||
# Expose the port that the application will run on
|
||||
EXPOSE 3003
|
||||
|
||||
# Command to run the application
|
||||
CMD ["node", "server.js"]
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "cryptide",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"bcrypt": "^5.1.1",
|
||||
"body-parser": "^1.20.2",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.18.2",
|
||||
"express-session": "^1.17.3",
|
||||
"mysql": "^2.18.1",
|
||||
"mysql2": "^3.6.5"
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
# Use the official Node.js image
|
||||
FROM node:14
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Copy package.json and package-lock.json to the working directory
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the rest of the application code
|
||||
COPY ./server.js .
|
||||
|
||||
# Expose the port that the application will run on
|
||||
EXPOSE 3002
|
||||
|
||||
# Command to run the application
|
||||
CMD ["node", "server.js"]
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "cryptide",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"body-parser": "^1.20.2",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.18.2",
|
||||
"express-session": "^1.17.3",
|
||||
"socket.io": "^4.7.2"
|
||||
}
|
||||
}
|
@ -1,6 +1,9 @@
|
||||
import { io } from "socket.io-client";
|
||||
import { ADRESSE_WEBSERVER } from "./AdressSetup";
|
||||
|
||||
const socket = io(ADRESSE_WEBSERVER);
|
||||
const socket = io(ADRESSE_WEBSERVER, {transports: ['websocket'], reconnection: false});
|
||||
|
||||
console.log(ADRESSE_WEBSERVER)
|
||||
console.log(socket.id)
|
||||
|
||||
export {socket}
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 822 B After Width: | Height: | Size: 822 B |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue