Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Backend #5

Closed
2 of 6 tasks
sGerli opened this issue Dec 7, 2016 · 11 comments
Closed
2 of 6 tasks

Create Backend #5

sGerli opened this issue Dec 7, 2016 · 11 comments

Comments

@sGerli
Copy link
Member

sGerli commented Dec 7, 2016

Includes:

  • Decide Backend Language.
  • Connection to app, category, screenshots, author DB.
  • Make a new dev-portal in which authors can upload .pbw, screenshots, app/watchface banners, app icons, descriptions, and manage their app versions.
  • Add moderators that can moderate the App Store and its submissions.
  • Check that .pbw aren't masked viruses.
  • Rest API
  • Probably there are more things that I forgot.

Backend Language: Go Lang

Extra Info:

  • App banners have to be 720px x 320px (Original app store size).
  • App Screenshots also have to be of their original size.
  • Frontend will be single page with VUE JS
@sGerli sGerli added this to the 0.5 Beta Release milestone Dec 7, 2016
@ShawnBaek
Copy link

How about use parse-server as backend?

@KonradIT
Copy link
Member

Here is how I frame it:

The store fetches a JSON list with the app names (like this), then it fetches the app UUID and generates from that the app-details page, I'll use @ardaozkal's mirror for a quick demo.

@okschlatter
Copy link

okschlatter commented Dec 12, 2016 via email

@Zetaphor
Copy link
Member

I'm debating between putting up a poll, and simply starting with a set of technologies I choose.

We know we're going to need at least 3 things to make this stack happen:

  • A client-side framework to do the heavy lifting
  • A REST API on the server to provide data to the frontend
  • A database to store all of this information

I'm personally in the camp of Vue for the frontend, Flask for the backend, and any SQL variant for the DB. Something like Redis could be useful in this context depending on what we're looking at in terms of scale and functional complexity.

Does anyone have any thoughts? Should I just throw up a poll? Who in the team is interested in working on this portion aside from me?

@torharrington
Copy link
Member

if we have the original JSON could we use some document store like mongo or documentdb or something?

@moejay
Copy link

moejay commented Dec 13, 2016

How about we set out to define REST APIs using swagger?

@moejay
Copy link

moejay commented Dec 13, 2016

Also @sGerli , should we even look at CI now?

@sGerli
Copy link
Member Author

sGerli commented Dec 13, 2016

Not yet

@TheTechmage
Copy link
Member

@moejay At least with golang and what's been pushed up so far, I've found that test2doc will automatically create documentation in the API Blueprint format. I would've liked it if it generated swagger docs (due to how many tools can render swagger), but it was the only library that I could find that would use the comments within the code and actual API requests and responses to generate the documentation. If someone wanted to create some form of API list that the backend could mimick, that'd be great!

@moejay
Copy link

moejay commented Dec 22, 2016

Oh nice, it generates blueprint, we should be able to add a build step to convert to swagger spec if need be a quick search, turned out this

@TheTechmage
Copy link
Member

We have split off the backend work into it's own repo. Further discussion should occur within that project's issue tracker.

Closing this issue since it is no longer relevant to the current repo.

P.S. Thanks for the tip @moejay, looks like that'll work! I've created a relevant ticket here: pebble-dev/rebblestore-api#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants