Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e17ab4a
feat: add basik layot
inanimate631 Jun 17, 2023
daab299
feat: add main page and server
inanimate631 Jul 20, 2023
1abcebd
fix: fix paths for the server
inanimate631 Jul 20, 2023
fa6cddd
fix: fix corsOptions on server
inanimate631 Jul 20, 2023
867d4ab
fix: corsOptions on server
inanimate631 Jul 20, 2023
690f1e7
fix: fix for redeploy
inanimate631 Jul 24, 2023
01e3544
fix: fix cors
inanimate631 Jul 24, 2023
9f9e6f0
fix: add try catch
inanimate631 Jul 24, 2023
88797ba
fix: fix bug async
inanimate631 Jul 24, 2023
ea9c748
fix: fix cors
inanimate631 Jul 24, 2023
f404e70
fix: fix cors address
inanimate631 Jul 24, 2023
75818b3
fix: fix bug on show select cart
inanimate631 Jul 24, 2023
ecc6d8d
fix: fix cors address
inanimate631 Jul 24, 2023
0c03c42
fix: wordDifficulty
inanimate631 Jul 26, 2023
efeb603
fix: cors on server
inanimate631 Jul 26, 2023
fe11cbc
feat: add node-version
inanimate631 Jul 26, 2023
d8a4825
fix: fix package.json
inanimate631 Jul 26, 2023
731f420
fix: cors on server and package.json frontend
inanimate631 Jul 26, 2023
b10a64a
fix: cors on serve
inanimate631 Jul 26, 2023
8159d6d
fix: cors on server
inanimate631 Jul 26, 2023
b28f81b
fix: change user.id to user.ip
inanimate631 Jul 26, 2023
9704c81
fix: del user
inanimate631 Jul 26, 2023
bb7b881
fix: user.ip
inanimate631 Jul 26, 2023
248ef33
fix: user.ip
inanimate631 Jul 26, 2023
886ee3e
fix: user.ip
inanimate631 Jul 26, 2023
c8260f2
fix: user.ip
inanimate631 Jul 26, 2023
65d634e
fix: user.ip
inanimate631 Jul 26, 2023
d653ecf
fix: user.ip
inanimate631 Jul 26, 2023
d3e9da1
fix: user.ip
inanimate631 Jul 26, 2023
7e6ab17
fix: user.ip
inanimate631 Jul 26, 2023
7b58d46
fix: user.ip
inanimate631 Jul 26, 2023
9cb4d50
fix: user.ip
inanimate631 Jul 26, 2023
b09021f
fix: user.ip
inanimate631 Jul 26, 2023
d373fe0
feat: add adaptative
inanimate631 Jul 27, 2023
77af5c0
fix: fix path
inanimate631 Jul 27, 2023
c6554b1
fix: fix userIp
inanimate631 Jul 27, 2023
42b5ebb
fix: user.service address
inanimate631 Jul 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 42 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Compiled output
/dist
/tmp
/out-tsc
/bazel-out

# Node
/node_modules
npm-debug.log
yarn-error.log

# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings

# System files
.DS_Store
Thumbs.db
16 changes: 16 additions & 0 deletions Codenames/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
42 changes: 42 additions & 0 deletions Codenames/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Compiled output
/dist
/tmp
/out-tsc
/bazel-out

# Node
/node_modules
npm-debug.log
yarn-error.log

# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings

# System files
.DS_Store
Thumbs.db
1 change: 1 addition & 0 deletions Codenames/.node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.16.0
4 changes: 4 additions & 0 deletions Codenames/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
"recommendations": ["angular.ng-template"]
}
20 changes: 20 additions & 0 deletions Codenames/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "ng serve",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/"
},
{
"name": "ng test",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test",
"url": "http://localhost:9876/debug.html"
}
]
}
42 changes: 42 additions & 0 deletions Codenames/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "start",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
}
}
},
{
"type": "npm",
"script": "test",
"isBackground": true,
"problemMatcher": {
"owner": "typescript",
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "(.*?)"
},
"endsPattern": {
"regexp": "bundle generation complete"
}
}
}
}
]
}
27 changes: 27 additions & 0 deletions Codenames/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Codenames

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.0.2.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
104 changes: 104 additions & 0 deletions Codenames/angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"Codenames": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/codenames",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "8kb",
"maximumError": "10kb"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "Codenames:build:production"
},
"development": {
"browserTarget": "Codenames:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "Codenames:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
}
}
}
}
}
}
Loading