ericuldall / swift-feathersjs Goto Github PK
View Code? Open in Web Editor NEWA Lightweight Feathers.js package for Swift
A Lightweight Feathers.js package for Swift
Need to persist JWT token if app is closed or device is restarted
Not sure how well supported promises are... (needs more research)
https://developer.apple.com/documentation/combine/future/promise
Right now the data model is stored as NSMutableDictionary. It works okay but you must often explicitly cast the data to Type
from Any
I think switch data to a struct can solve this problem. This may also allow a more easily observable State for reactive models in the UI.
We will need a concept of database adapters to allow modifications to query where necessary depending on the backing database.
we may see the need to customize record id's and query / parameter structures based on what's available in the api.
(current tests are done against a mongo backed feathers api)
Need to support other keys beside email (i.e: username, user, etc...)
Need the ability to add hooks to each service as well as global hooks
Lots of duplicated code in https://github.com/ericuldall/swift-feathersjs/blob/main/Sources/FeathersJS/Models/ServiceModels.swift#L129
Def can do some code golf on that ;)
This will help to facilitate iteration using List([FeathersServiceModel]) {}
which should be easily supported to allow UI integration without breaking the data model
need to create a working SocketProvider
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.