Activity 18: Fork testdeploy Github Repository and deploy it to Render.com
Step 1: Fork the GitHub Repository
Visit the Repository
- Go to the GitHub repository: thirdygayares/test_deploy
Fork the Repository
- Click the Fork button in the upper-right corner of the repository page to make a copy of the repository in your own GitHub account.

Step 2: Set Up Your Render Account
Visit Render.com
- Open Render in your browser.
Sign Up or Log In
- If you don’t have an account, create a new one, or log in to your existing Render account.

Step 3: Create a New Web Service on Render
Create a New Service
- In your Render dashboard, click the New button and choose Web Service from the dropdown menu.

Connect GitHub
- When asked, link your GitHub account to Render by allowing Render to access your repositories.

Select Your Forked Repository
- Select the forked repository from your GitHub account (e.g.,
yourusername/test_deploy).

Specify the Basic Settings
Name: Enter a name for your service (e.g.,
test-deploy-service).Branch: Select the
mainbranch or any branch you want to deploy from.Build Command: Leave this blank unless your repository requires a specific build command.
Start Command: Enter the command to launch your application, like
npm startornode server.js, depending on your app.Environment: Select the correct runtime environment (e.g., Node.js, Python, etc.).
Create the Service
- Click on Deploy Web Service to begin deploying your app.


Step 4: Test the API with Postman
Open Postman
- Start Postman on your computer or use the web version.
Create a New Request
- Choose the correct HTTP method (GET, POST, etc.) for the API function you want to test.
Enter the URL
- Enter the URL of your deployed service (e.g.,
https://test-deploy-service.onrender.com/students).
- Enter the URL of your deployed service (e.g.,

Set Up the Request
If your API requires authentication, include the necessary headers.
For POST requests, navigate to Body, select raw, then choose JSON format. Input the data your API needs.
Send the Request
Click Send and check the response.
If your API is configured correctly, you should see the expected output.
Common API Endpoints
GET All Students:
Use a GET request to retrieve a list of all students.
GET Student by ID:
Use a GET request with the student’s ID in the URL to fetch details of a specific student.
- ADD a New Student:
Use a POST request with the student data in the request body (in JSON format).

- UPDATE a Student:
Use a PUT request with the updated student data.


- DELETE a Student:
Use a DELETE request to remove a student by ID.

https://roncal-basic-crud-python-flask.onrender.com/students