DEV Community

Discussion on: Announcing the DigitalOcean App Platform Hackathon on DEV!

Collapse
 
chris__sev profile image
Chris Sev

Hey everyone! My name is Chris and I'm the founder of scotch.io and a Developer Advocate at DigitalOcean.

Excited about this hackathon and the things we'll all build! Let me know if you have any questions here or catch me on Twitter.

Collapse
 
anupa profile image
Anup Aglawe • Edited

Hey I'm developing an application as a part of this hackathon.
I see a strict credit card requirement while signing on digital ocean. Is there any workaround for this, at least for students?

Collapse
 
anupa profile image
Anup Aglawe

I have a doubt regarding how routes are setup for a static sites and it's corresponding web service.
My specific use case is to implement GitHub oauth on my react/express/GraphQL application.

Locally everything works fine, I have a button which redirects my react app to localhost:4000/auth/GitHub , which gets redirected to GitHub oauth page and then successful login redirects back localhost:3000 (react app).

But on my app platform, I can see only a single APP_URL. I'm confused which goes where and GitHub oauth requires app url & callback url ( localhost:3000 & localhost:4000/user/signin/callback ) this works well in my local env. But not sure what should I put when in production.

Collapse
 
ayanb profile image
Ayan Banerjee

It appears you need two separate apps for the frontend and backend. In that scenario, simply create 2 apps in the app platform.

Thread Thread
 
anupa profile image
Anup Aglawe

But the straight forward way seems to be just adding a static site component and web service component, and most probably they were meant to be used in that manner. (and not creating separate apps for client and server ).

Also, if I add a http route let's say /api on my web service component. I can access GraphQL endpoints by ${APP_URL}/api/graphql

Thread Thread
 
ayanb profile image
Ayan Banerjee

Yes, thanks. That seems to be a much cleaner way!

Collapse
 
kristijankanalas profile image
Kristijan Kanalaš

Hey Chris, I would like to ask if it's possible to enter multiple times with separate projects?

Collapse
 
chris__sev profile image
Chris Sev

Definitely! Highly encouraged to do so. I will be!

Collapse
 
kubeden profile image
Kuberdenis

Hey Chris, huge fan of scotch.io, the JS introduction particularly! I've got a question for you - is a game project considered "truly silly" for the random roulette? Is it worth giving a shot, or should I go for something else in your opinion?

Collapse
 
kubeden profile image
Kuberdenis

I mean - I have an idea for a game, which is not silly (I can, of course, try to make it such with funny drawings and so on) and I am thinking if it's worth going for that or
should I choose something else?

Thread Thread
 
chris__sev profile image
Chris Sev

A game is a great idea! 100% go for it! Random roulette is very much for stuff like this that doesn't fit cleanly into the other categories.

Thread Thread
 
kubeden profile image
Kuberdenis

Thank man! And good luck to all participants, HACK ON!

Collapse
 
manitej profile image
Manitej ⚡ • Edited

I'm trying to use digital ocean from many months but I live in india. Students don't have a credit card nor a PayPal account. Missing this hackathon too :(

Collapse
 
cubiclesocial profile image
cubiclesocial

PayPal became available in India as of 2017, so I'm not sure why you can't use it with a bank account + PAN. DigitalOcean requires a prepayment of $5 USD to start the DO account via PayPal even with the $50 in credit for this hackathon.

Thread Thread
 
mridubhatnagar profile image
Mridu Bhatnagar

$5 goes through payment or is it deducted from $50 credit that they are giving?

Thread Thread
 
bobbyiliev profile image
Bobby Iliev

Hey,

The $5 will be used to top up your account, this mainly applies to PayPal. Here are the two messages for each payment method again:

Credit card:
“We won’t charge your card. You may see a temporary pre-authorization charge to verify the card, which will be reversed within a week.”

Paypal:
“To confirm your PayPal account, you need to make a $5 pre-payment. This pre-payment will apply to any future bills.”

Thread Thread
 
mridubhatnagar profile image
Mridu Bhatnagar

You mean if I use PayPal I am going to be charged $5?

Is there any other alternative if I don't wish to pay?

Thread Thread
 
bobbyiliev profile image
Bobby Iliev

Currently, you could choose only between PayPal and Credit card payments.

Collapse
 
guryashzone profile image
Guryash Singh

Same here, but I will try risking $5 for learning something new!

Collapse
 
cwraytech profile image
Christopher Wray

Hey Chris! Does moving existing sites over to the app platform count towards the hackathon, or no?

Collapse
 
bobbyiliev profile image
Bobby Iliev

Hi there 👋

I believe that it should be ok as long as you deploy the site on the App platform and the project is opensource. Also make sure to add the Deploy to DigitalOcean button for some extra points.

Collapse
 
krishnakakade profile image
krishna kakade

i need a help with this

Collapse
 
krishnakakade profile image
krishna kakade

if i added my credit card to DigitalOcean how many applications i can host with help of 50$ credit

Collapse
 
bobbyiliev profile image
Bobby Iliev

According to the official documentation, the App Platform has three pricing tiers:

  • Starter: Free. Good for trying App Platform and deploying static sites. You can build and deploy 3 static sites for free on the Starter tier. Every additional static site costs $3/mo.
  • Basic: Starts at $5/month (for one container). Good for prototyping apps.
  • Professional: Starts at $12/month (for one container). Good for deploying production apps.

For more information you can take a look at the documentation here:

digitalocean.com/docs/app-platform/