This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
Client-Side applicant server #82
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest 2024
Related to hacktoberfest 2024
level: intermediate
Issues for developers with an intermediate knowledge level
P2
priority level 2, important not urgent, schedule or delegate
package: applicant
Directly impacts the applicant package
package: server
Directly impacts the server package
Continuation of #68
DcxServer - Issuer
The
@dcx-protocol/server
package implements a polling mechanism forDcxIssuer
. It is not a true server in the sense that its not running something like express to accept incoming http requests. Rather, it simply polls listening for new incoming records with a certain protocolPath (i.e. application). For now, that will be good enough.DcxServer - Applicant
The
@dcx-protocol/server
package doesn't have the same mechanism forDcxApplicant
becauseDcxApplicant
is intended to be used on client-side (browsers). As such, we expect developers to be running their own local dev framework (next, react, angular, etc) and then install the applicant package into that project. It would, however, be nice if we could come up with some kind of simple server-like mechanism to add to the server package that injects the dcx applicant class and runs a server.Ideas to Try
User Stories
Func Reqs
server/applicant-server.ts
and import dcx-applicant and dcx-commonnew DcxApplicant
start
methodNext.js Func Reqs
DcxApplicant.start
runs a next.js server (pages router)DWN Server Func Reqs
DcxApplicant.start
runs a the http server from within dwn-serverThe text was updated successfully, but these errors were encountered: