mjec / rc-niceties

End of batch niceties for the Recurse Center
MIT License
15 stars 5 forks source link

Normalize Recurser profiles #68

Open jasonaowen opened 3 years ago

jasonaowen commented 3 years ago

Right now, the back-end is talking to the RC API for many requests, which makes those requests take a lot longer than we would like, particularly when a request requires multiple RC API calls. Instead, we should keep all the data about recurser profiles in our database, and sync it periodically using a personal access token assigned to the application. This is a pattern that we've used elsewhere: in Faces, in Portfolio, and in World of Recurse.

Approximately, this work involves:

This will cause us to use a lot more rows in the database, which may impact our ability to stay on the free plan. We should chat with @mjec about the possibility of moving to a paid plan, and/or with RC staff about getting this project subsidized.

jasonaowen commented 3 years ago

This would be an alternative approach to #5.