Merge pull request #4 from FifthWit/beta

Templates and readme
This commit is contained in:
FifthWit 2025-03-13 13:53:11 -05:00 committed by GitHub
commit f4b478f229
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 109 additions and 18 deletions

3
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,3 @@
# These are supported funding model platforms
github: FifthWit

73
.github/ISSUE_TEMPLATE.yml vendored Normal file
View file

@ -0,0 +1,73 @@
name: Bug Report or Feature Request
description: File a bug report or request a new feature... llm template so sorry if it breaks
title: "[BUG/FEATURE]: "
labels: ["triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this issue!
- type: dropdown
id: issue-type
attributes:
label: Issue Type
description: What type of issue are you reporting?
options:
- Bug
- Feature Request
- Documentation Issue
- Question
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the issue.
placeholder: Tell us what you see or want to see!
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What did you expect to happen?
placeholder: Describe what you expected to happen.
validations:
required: false
- type: textarea
id: current
attributes:
label: Current Behavior
description: What actually happened?
placeholder: Describe what actually happened.
validations:
required: false
- type: textarea
id: steps
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: false
- type: textarea
id: environment
attributes:
label: Environment
description: |
examples:
- **OS**: Ubuntu 20.04
- **Node**: 14.17.0
- **npm**: 6.14.13
value: |
- OS:
- Node:
- npm:
render: markdown
validations:
required: false

10
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,10 @@
## Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
## Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update

View file

@ -1,3 +1,25 @@
# BackendV2
P-Stream's Backend has some issues, and this branch is designed to remake all the endpoints with Nitro for better DX
[![Donate](https://img.shields.io/badge/Donate-GitHub%20Sponsors-PURPLE)](https://github.com/sponsors/FifthWit)
BackendV2 is a from scratch rewrite for the old Fastify and MikroOrm version with backwards compatibility!
## Tech Stack
This repo uses:
- [Nitro](https://nitro.build)
- [Prisma](https://pris.ly)
- [Zod](https://zod.dev)
along with other minor libraries, we chose Nitro for its fast DX, easy support for caching, minimal design, and rapid prototyping. Prisma due to it's clear syntax, typesafety, and popularity. Zod for validation.
# Goals
Since we've changed the codebase so much for better DX that comes with more changes!
- [ ] Recommendations using ML models to provide accurate Recommendations via embeddings using a vector database
- [x] Ratings, partly for the affirmentioned goal
- [ ] Client wrapper library for any site that wants to keep user data related to movies, films, and recommendations
## Minor information
Only make PRs to `beta` branch
Production deployments are [here](https://backend.fifthwit.net)
Beta deployments are [here](https://beta.backend.fifthwit.net)

16
package-lock.json generated
View file

@ -6,7 +6,6 @@
"": {
"dependencies": {
"@prisma/client": "^6.4.1",
"bs58": "^6.0.0",
"dotenv": "^16.4.7",
"jsonwebtoken": "^9.0.2",
"prom-client": "^15.1.3",
@ -2025,12 +2024,6 @@
"license": "Apache-2.0",
"optional": true
},
"node_modules/base-x": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/base-x/-/base-x-5.0.1.tgz",
"integrity": "sha512-M7uio8Zt++eg3jPj+rHMfCC+IuygQHHCOU+IYsVtik6FWjuYpVt/+MRKcgsAMHh8mMFAwnB+Bs+mTrFiXjMzKg==",
"license": "MIT"
},
"node_modules/base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@ -2091,15 +2084,6 @@
"node": ">=8"
}
},
"node_modules/bs58": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/bs58/-/bs58-6.0.0.tgz",
"integrity": "sha512-PD0wEnEYg6ijszw/u8s+iI3H17cTymlrwkKhDhPZq+Sokl3AU4htyBFTjAeNAlCCmg0f53g6ih3jATyCKftTfw==",
"license": "MIT",
"dependencies": {
"base-x": "^5.0.0"
}
},
"node_modules/buffer": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",

View file

@ -12,7 +12,6 @@
},
"dependencies": {
"@prisma/client": "^6.4.1",
"bs58": "^6.0.0",
"dotenv": "^16.4.7",
"jsonwebtoken": "^9.0.2",
"prom-client": "^15.1.3",