Skip to content

Commit

Permalink
Merge pull request #2 from DanielMcAssey/dev/add-admin-panel
Browse files Browse the repository at this point in the history
Dev/add admin panel
  • Loading branch information
DanielMcAssey authored Jan 13, 2025
2 parents de2e6d9 + 3f42ebb commit 650ba68
Show file tree
Hide file tree
Showing 75 changed files with 8,251 additions and 142 deletions.
30 changes: 0 additions & 30 deletions .dockerignore

This file was deleted.

6 changes: 6 additions & 0 deletions .github/workflows/build-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ jobs:
with:
dotnet-version: '8.0.x'

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'

- name: Install Packages
run: npm ci

Expand Down
48 changes: 0 additions & 48 deletions Dockerfile

This file was deleted.

6 changes: 6 additions & 0 deletions GLOKON.Baiters.Client/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
30 changes: 30 additions & 0 deletions GLOKON.Baiters.Client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
dist
dist-ssr
coverage
*.local

/cypress/videos/
/cypress/screenshots/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

*.tsbuildinfo
7 changes: 7 additions & 0 deletions GLOKON.Baiters.Client/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"Vue.volar",
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig"
]
}
19 changes: 19 additions & 0 deletions GLOKON.Baiters.Client/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "localhost (Chrome)",
"url": "https://localhost:60499",
"webRoot": "${workspaceFolder}"
},
{
"type": "edge",
"request": "launch",
"name": "localhost (Edge)",
"url": "https://localhost:60499",
"webRoot": "${workspaceFolder}"
}
]
}
11 changes: 11 additions & 0 deletions GLOKON.Baiters.Client/GLOKON.Baiters.Client.esproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/1.0.1738743">
<PropertyGroup>
<StartupCommand>npm run dev</StartupCommand>
<JavaScriptTestRoot>.\</JavaScriptTestRoot>
<JavaScriptTestFramework>Jest</JavaScriptTestFramework>
<!-- Allows the build (or compile) script located on package.json to run on Build -->
<ShouldRunBuildScript>false</ShouldRunBuildScript>
<!-- Folder where production build objects will be placed -->
<BuildOutputFolder>$(MSBuildProjectDirectory)\dist</BuildOutputFolder>
</PropertyGroup>
</Project>
22 changes: 22 additions & 0 deletions GLOKON.Baiters.Client/components.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* eslint-disable */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}

/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
ApplicationMark: typeof import('./src/components/ApplicationMark.vue')['default']
Banner: typeof import('./src/components/Banner.vue')['default']
Dropdown: typeof import('./src/components/Dropdown.vue')['default']
DropdownLink: typeof import('./src/components/DropdownLink.vue')['default']
NavLink: typeof import('./src/components/NavLink.vue')['default']
ResponsiveNavLink: typeof import('./src/components/ResponsiveNavLink.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
export interface ComponentCustomProperties {
Tooltip: typeof import('primevue/tooltip')['default']
}
}
16 changes: 16 additions & 0 deletions GLOKON.Baiters.Client/env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/// <reference types="vite/client" />
import 'pinia';
import 'vue';
import { AxiosInstance } from 'axios';

declare module 'vue' {
interface ComponentCustomProperties {
$http: typeof AxiosInstance;
}
}

declare module 'pinia' {
export interface PiniaCustomProperties {
$http: typeof AxiosInstance;
}
}
17 changes: 17 additions & 0 deletions GLOKON.Baiters.Client/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import pluginVue from 'eslint-plugin-vue'
import vueTsEslintConfig from '@vue/eslint-config-typescript'

export default [
{
name: 'app/files-to-lint',
files: ['**/*.{ts,mts,tsx,vue}'],
},

{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
},

...pluginVue.configs['flat/essential'],
...vueTsEslintConfig(),
]
29 changes: 29 additions & 0 deletions GLOKON.Baiters.Client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Baiters Administration</title>

<!-- Icons -->
<link rel="icon" type="image/png" href="/assets/icons/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/assets/icons/favicon.svg" />
<link rel="shortcut icon" href="/assets/icons/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="Baiters" />
<link rel="manifest" href="/assets/icons/site.webmanifest" />

<!-- Layer Order -->
<style>
@layer tailwind-base, primevue, tailwind-utilities, theme;
</style>

<!-- Fonts -->
<link rel="preload" as="style" href="/assets/fonts/nunito/style.css" onload="this.onload=null;this.rel='stylesheet'">
</head>
<body class="font-sans antialiased">
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading

0 comments on commit 650ba68

Please sign in to comment.