Commit Graph

6 Commits

Author SHA1 Message Date
Niko ab39f741f3 Intercept AP Create.Note and check if contains #fedilovequiz to parse
* FediLove Quiz is a standar text-based (parsed) protocol wrapped inside the object "Note"
 that can create a Quiz inside FediLove instance so there can be an interaction between non-FediLove
 instances and FediLove instances.
* TODO: implement the response from this side, so it goes parsed as a regular response to the original "Note"
 but parsed so if the target instance is FediLove, it parses it as a quiz result and can be interpreted on any AP software
2022-02-21 23:54:59 +01:00
Niko c7d8a075b9 Wrap getAPObject to match given type + refactor 2022-02-16 14:17:22 +01:00
Niko 1c05bb5186 Added "objects" to db.js wrapper 2022-02-13 02:02:29 +01:00
Niko 93b7593151 Change default database name + cleaner code 2022-02-08 23:25:55 +01:00
Niko 4abbcc690b Added /accounts/login API for logging in users using "email" + "password" 2022-02-08 23:19:53 +01:00
Niko 95436a59b3 Added register account API + Changes needed
* Added .env to .gitignore
* New dependencies on package.json
* Moved database connection to a "db.js" module
* Changed API ActivityPub params
* Added new APIs on "server.js"
* Added needed env variables on .env
2022-02-08 22:22:42 +01:00