last day (635 days later) » 

Anonymous
20:47
Hello, World!
I GTG for like 10 minutes
Anonymous
First things first: API design
Anonymous
Bare-bones endpoints: /post/<id> (GET), /search/<query> (GET), /post (POST), /user/<id> (GET), /register (POST)
@Mego You just used /post twice
Anonymous
@Pavel An endpoint can serve as both a POST and a GET endpoint
Anonymous
20:52
POST /post would create a new post. /post/<id> (GET) would return a post's content.
Alright. I've never actually built an API before.
Or a databse
Or any kind of website with intresting server-side stuff going on really
@Mego Do we need a /register at the start? We could use SE accounts for a while.
Anonymous
@Pavel Good point. We would definitely need /login (POST)
Yeah.
@Mego /post/answer/<id> GET and /post/answer POST
should the answers and questions be mixed into a single database/thing?
Anonymous
@dzaima Should be two different tables
21:03
Do we need to come up with the technology stack to use now or later?
Anonymous
Later
Anonymous
API first
/post/vote and /post/answer/vote (POST)
@Mego Should we make a hackmd or something?
Anonymous
@Pavel Why? That's the purpose of this room
Keep thing more organized, I guess
@Mego I think that's basically everything needed for a bare-bones API.
Anonymous
21:18
So login will be via OAuth2
At least initially, yes.
Anonymous
For /post/answer/<id>, we would want two fields: code and commentary. Having the two separated would make auto-scoring much easier.
Ooh, good idea. Also a field for language.
Anonymous
I can start working on something in an hour or so. I vote Linux/Flask/MySQL/Python for the software stack
I vote Linux/ASP.NET Core/MySQL/C#
Although python is good too.
Anonymous
21:22
I've never worked with ASP.NET Core, but it seems to be an unnecessarily unwieldy behemoth
Perhaps. Python is slow though.
I don't suppose it matters too much.
Lets go with Python.
@Mego what are your thoughts on Azure?
I know it has a Flask template
Anonymous
22:19
@Pavel Never used it
Anonymous
I don't see why we would need it if we're using Thomas's servers
Oh, right. I forgot about that.
If PPCGv2 actually takes off we'd want to find something more reliable though.
 
1 hour later…
Anonymous
23:27
Thomas is plenty reliable
Anonymous
He runs Smokey (well, one instance, anyway)
@Mego Intresting, didn't know that. Have you started by any chance, and if so could I have a GitHub link?
Anonymous
@Pavel Not yet, and N/A
Anonymous
I just got back from rescuing my wife's car from a mechanic and having dinner
Oof. That sounds unpleasant.
Having to have a mechanic look at your car, that is. Dinner sounds lovely.
Anonymous
Anonymous
I'll move it to an org if enough people join the project

  last day (635 days later) »