https://github.com/sponsors/Vrixyz
Yep, That's me.
- ๐ฆ Rustacean
- ๐งธ Game developer
- ๐จโ๐ฉโ๐งโ๐ฆ Father
- ๐ก Working from Home
Backend inventory for different games
License: MIT License
https://github.com/sponsors/Vrixyz
Yep, That's me.
# TODO: (OpenAPI) fix BiscuitInfoRole: swagger editor wants a "schema:" before this line, but vscode highlighter doesn't like it...
backpack/crates/server/docs/openapi3_0.yaml
Line 490 in 2a22cb6
a user is not able to come back automatically authenticated after a while.
repro steps:
proposed solution:
-- TODO: We don't want to immediately delete a refresh token, so we can detect refresh token reuse, maybe due to malicious usage.
undefined
// TODO: use shared::AuthenticationToken ; return that directly from BackpackClient
backpack/crates/server/tests/helper.rs
Line 85 in c6830ee
We need at least 2 games to showcase this repository.
Those would be as simple as possible.
A first step:
To ease client implementation, a library could help with interfacing with server.
Reading through the book, here is my todo list to implement in backpack
I'd like to get oauth working on web and native.
other references: tauri-apps/tauri#323
https://github.com/robjtede/actix-examples-oauth-github
// FIXME: check refresh token is not expired!
undefined
trait with async fn could help eliminate redundant code from backpack_client_bevy within: bevy_login, bevy_signup...
To announce the project, I'd want to:
Follow docs from openAPI to get more details about current state.
This document follows the same layout.
Items with "๐ง " are more complex or lacking a clear way to implementation
"Lazy system" refers to direct items modifications through clients API calls, better suited for "non critical" items.
// TODO: fix wasm
// TODO: Leverage From rust trait for Role -> Option<AppId>
backpack/crates/server/src/auth_user.rs
Line 27 in 94c4ac3
TODO:
CREATE TABLE refresh_tokens (
token_id SERIAL PRIMARY KEY,
refresh_token VARCHAR(255) NOT NULL,
user_id INT NOT NULL,
expiration_date TIMESTAMP NOT NULL,
revoked BOOLEAN NOT NULL DEFAULT FALSE,
created_at TIMESTAMP NOT NULL,
FOREIGN KEY (user_id) REFERENCES users(user_id)
);
// TODO: when async traits we can remove this wrapper and add behaviour directly to shared::UserId
Routes tested via swagger editor https://editor-next.swagger.io/:
For users to connect as admin, an official way to connect to the server is needed.
I want it to:
// TODO: refresh token should be revoked and returned in a same DB request.
undefined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.