File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ To set up the Code Verse Backend using Docker, follow these steps:
6565
6666 The backend is listening on port ` 3000 ` of your local machine.
6767
68+ <br />
69+
6870## Stopping the Container
6971
7072To stop the Code Verse Backend container, use the following command:
@@ -110,7 +112,7 @@ The Code Verse Backend exposes the following API endpoints:
110112 }
111113 ```
112114
113- Javascript example of making an API call
115+ Javascript example of making an API call
114116
115117 ```javascript
116118 const fetchAPI = async () => {
@@ -126,11 +128,14 @@ The Code Verse Backend exposes the following API endpoints:
126128 };
127129
128130 try {
129- const response = await fetch("https://api.example.com/api/execute", {
130- method: "POST",
131- headers: headers,
132- body: code,
133- });
131+ const response = await fetch(
132+ " https://code-verse.onrender.com/api/execute" ,
133+ {
134+ method: "POST",
135+ headers: headers,
136+ body: code,
137+ }
138+ );
134139
135140 if (!response.ok) {
136141 throw new Error("Request failed with status " + response.status);
@@ -144,3 +149,9 @@ The Code Verse Backend exposes the following API endpoints:
144149 };
145150 fetchAPI();
146151 ```
152+
153+ <br />
154+
155+ ## Supported Languages For Online Compilation
156+
157+ > C, C++, Java, Python and JavaScript
You can’t perform that action at this time.
0 commit comments