A challenge to deploy a NodeJS Express app on render for Hacktoberfest 2022!
Hacktoberfest is a month-long celebration of open source, organised by Digital Ocean. (More details here)
If you've never made a pull request before, or participated in an open-source project, we recommend taking a look at these resources:
These two resources have everything you need to learn about open-source, with a step-by-step guide to making your very first PR. Once you've got your feet wet, you're ready to come back and dive into Hacktoberfest fun!
- Deploy the Express app in the repo to render
-
First up you need to fork (make a copy) of this repo to your Github account.
-
Clone (download) your fork to your computer.
-
Set your streams so you can sync your clone with the original repo (get the latest updates).
git remote add upstream https://github.com/GDSC-SJEC/Node-Express-Render-Challenge.git
git pull upstream main
- The above 2 commands will synchronize your forked version of the project with the actual repository.
-
Create a branch.
-
Deploy the app in the fork to render
- You can follow the steps for deploying a NodeJS app here
- Make sure you select the Ohio(US East) region while deploying the app
- Note the url of the deployed app.
-
Modify the contribs.json file to include details about your github username and the deployed url of the app.
- The modification should should follow the following format:
[ ... , { "github_username": "your-github-username", "render_deploy_url": "your-app-deploy-url" } ]
- The modification should should follow the following format:
-
Open the file
CONTRIBUTORS.md
and add your name with your github URL.
Note: The format is- [Your Name](https://github.com/yourgithubusername)
-
Pull from the upstream again, like we did in step 3. This is to ensure we still have the latest code.
git pull upstream main
-
Commit and push the code to your fork.
-
Create a pull request to have the changes merged from your fork into the origin.
Congratulations! You are now one pull request closer to getting that free t-shirt. Repeat these steps until you have made at least 4 qualifying pull requests. You can check how many qualifying pull requests you have made at https://hacktoberfest.com/profile/ Have fun and Happy coding!
Stuck? No problem! You can come talk to us in our discord server and we're here to help you!