Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.0.0 #3

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.github/
.git/
.vscode/
docker/
.dockerignore
.gitignore
dockerfile
.md
29 changes: 29 additions & 0 deletions .github/workflows/Continuous Linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Continuous Linting

on:
push:
branches:
- '*'

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12.3'
cache: 'pip'

- name: Install Dependencies
run: |
cd server
pip install -r requirements.txt
cd test
pip install -r requirements.txt
- name: Run Pylint
run: |
cd server
pylint --disable=R,C .
57 changes: 57 additions & 0 deletions .github/workflows/FullTest_Master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Linting validation and Preliminary Testing

on:
pull_request:
branches:
- 'master'

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12.3'
cache: 'pip'

- name: Install Dependencies
run: |
cd server
pip install -r requirements.txt
cd test
pip install -r requirements.txt

- name: Run Pylint
run: |
cd server
pylint --disable=R,C .

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Test Client
run: |
cd client
# Add commands to run tests for the client application

- uses: actions/setup-python@v5
with:
python-version: '3.12.3'
cache: 'pip'

- name: Install dependencies
run: |
cd server
pip install -r requirements.txt
cd test
pip install -r requirements.txt

- name: Test Server
run: |
cd server
coverage run -m pytest
coverage report
Empty file added .gitignore
Empty file.
59 changes: 59 additions & 0 deletions .vscode/sessions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"$schema": "https://cdn.statically.io/gh/nguyenngoclongdev/cdn/main/schema/v10/terminal-keeper.json",
"theme": "tribe",
"active": "default",
"activateOnStartup": true,
"keepExistingTerminals": false,
"sessions": {
"default": [
[
{
"name": ".venv Auth Server",
"autoExecuteCommands": false,
"icon": "server",
"color": "terminal.ansiRed",
"cwd": "./server",
"commands": [
"& 'd:/Desktop/Codding Space/EventKit/Auth-API-DEV/server/.venv/Scripts/Activate.ps1'",
"uvicorn main:app --port 20001 --host 0.0.0.0 --reload"
],
"joinOperator": ";"
},
{
"name": ".venv terminal",
"autoExecuteCommands": true,
"icon": "terminal",
"cwd": "./server",
"commands": [
"& 'd:/Desktop/Codding Space/EventKit/Auth-API-DEV/server/.venv/Scripts/Activate.ps1'"
]
}
],
[
{
"name": "npm Client Server",
"autoExecuteCommands": false,
"icon": "globe",
"color": "terminal.ansiGreen",
"cwd": "./client",
"commands": [
"npm run dev"
]
},
{
"name": "Client env terminal",
"autoExecuteCommands": true,
"icon": "terminal",
"cwd": "./client",
"commands": []
}
],
{
"name": "Auth Terminal",
"icon": "terminal",
"cwd": ".",
"commands": []
}
]
}
}
16 changes: 16 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true
},
"hide-files.files": [],
"pylint.path": [
"[\".\"]"
],
"todo-tree.tree.scanMode": "workspace only",
"todo-tree.tree.showCountsInTree": true
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Auth-API
# Auth-API
[![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/pylint-dev/pylint)
23 changes: 23 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# BLANK PLACE HOLDER

# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
14 changes: 14 additions & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export default defineAppConfig({
ui: {
icons: {
dynamic: true
},
primary: 'blue',
colors: ['twitch', 'youtube','discord', 'twitter', 'instagram', 'kofi', 'patreon', 'paypal', 'spotify', 'streamelements', 'streamlabs', 'throne'],
button: {
default: {
loadingIcon: 'i-mingcute-loading-line',
}
}
}
})
22 changes: 22 additions & 0 deletions client/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.output
.data
.nuxt
.nitro
.cache
dist
node_modules
*package-lock.json
logs
*.log
.DS_Store
.fleet
.idea
.env
.env.*
!.env.example


.vscode/
.gitignore
.dockerignore
dockerfile
25 changes: 25 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Node dependencies
node_modules
*package-lock.json

# Logs
logs
*.log

# Misc
.DS_Store
.fleet
.idea

# Local env files
.env
.env.*
!.env.example
28 changes: 28 additions & 0 deletions client/.vscode/sessions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://cdn.statically.io/gh/nguyenngoclongdev/cdn/main/schema/v10/terminal-keeper.json",
"theme": "tribe",
"active": "default",
"activateOnStartup": true,
"keepExistingTerminals": false,
"sessions": {
"default": [
[
{
"name": "npm Client Server",
"autoExecuteCommands": true,
"icon": "globe",
"color": "terminal.ansiGreen",
"commands": [
"npm run dev"
]
},
{
"name": "Client env terminal",
"autoExecuteCommands": true,
"icon": "terminal",
"commands": []
}
]
]
}
}
17 changes: 17 additions & 0 deletions client/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true
},
"hide-files.files": [],
"files.associations": {
"*.css": "tailwindcss"
},
"editor.quickSuggestions": {
"strings": true
}
}
75 changes: 75 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Nuxt 3 Minimal Starter

Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install the dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install
```

## Development Server

Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
Loading