Welcome to the Defang GHW: Data Week Challenge Page!
Hello hackers! Defang is the easiest way to develop, deploy, and debug cloud applications.
Defang takes you from Docker Compose to production-ready AWS deployments in minutes!
If you’re looking for a new and efficient way to deploy your projects to the cloud, checkout Defang’s challenges!
Getting Help
- If you have any questions about Defang or their Global Hack Week challenges, head to the MLH Discord and find the #ask-defang channel!
- Each challenge is accompanied by helpful documentation
- If you need additional resources, you can find them at the bottom of this page!
Challenges
Challenge 1
1-Click Deploy
Objectives:
- Find out first hand how easy it is to deploy to Defang.
- Deploy a Go/Node.js/Python sample with 1-click Deploy from the Defang homepage.
- You’ll need your GitHub credentials to complete this challenge!
- Share a screenshot of your deployed application on our submission form!
Challenge 2
Set up Defang CLI and Portal
Objectives:
Documentation:
Challenge 3
Create a simple app with “defang generate”
Objectives:
- Defang supports generating new project outlines from a sample or using an AI model.
- Using this feature, you can describe what you would like the service to do and the CLI will generate a project outline with all the files required.
- Inspect the project source files and the Dockerfile and Compose file to ensure they are as expected.
- Share a screenshot of your project outline in our submission form!
Documentation:
Challenge 4
Deploy a simple app to Defang Playground with “defang compose up”
Objectives:
- You can deploy the app you created in Challenge 3 to the Defang Playground environment with a single command: “defang compose up”.
- Verify the app is accessible on the Internet and test it.
- Inspect the app on the Defang Portal.
- If anything goes wrong, use the “defang debug” command to let the Defang AI assistant help you find and fix the issue.
- Share your code on our Devpost Page!
Documentation:
Challenge 5
Advanced Challenge: Enhance your application with advanced features for compute and/or storage.
Objectives:
- Defang supports using GPUs in your applications
- Defang also supports specifying persistent storage services in your application (e.g. Redis, PostgreSQL)
- Use one or both of these features to take your application to the next level.
- Share your code on our Devpost Page!
Resources