Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
deval-candle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
charitha.p
deval-candle
Commits
3fc28bfa
Commit
3fc28bfa
authored
Oct 26, 2023
by
charitha.p
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added custom code
parent
4b886fef
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
backend/scripts/config/__init__.py
backend/scripts/config/__init__.py
+1
-1
backend/scripts/core/constants/api.py
backend/scripts/core/constants/api.py
+1
-0
backend/scripts/core/services/default.py
backend/scripts/core/services/default.py
+8
-0
manifest.json
manifest.json
+1
-1
No files found.
backend/scripts/config/__init__.py
View file @
3fc28bfa
from
pydantic
import
Field
,
BaseSettings
PROJECT_NAME
=
"candle"
PROJECT_NAME
=
"
deval
candle"
class
_Service
(
BaseSettings
):
...
...
backend/scripts/core/constants/api.py
View file @
3fc28bfa
...
...
@@ -4,6 +4,7 @@ class _APIEndpoints:
load_configuration
=
"/load_configuration"
preview
=
"/preview"
fetch_data
=
"/fetch_data"
test_data
=
"test_data"
APIEndpoints
=
_APIEndpoints
()
backend/scripts/core/services/default.py
View file @
3fc28bfa
...
...
@@ -63,3 +63,11 @@ def fetch_data_in_json():
return
handler
.
fetch_data
()
except
Exception
as
e
:
logging
.
exception
(
e
)
@
router
.
get
(
APIEndpoints
.
test_data
)
def
fetch_data_in_json
():
try
:
return
"Hello World"
except
Exception
as
e
:
logging
.
exception
(
e
)
manifest.json
View file @
3fc28bfa
...
...
@@ -6,5 +6,5 @@
"frontend_base_image"
:
"node:14.16.1"
,
"environment_variables"
:
{
},
"version"
:
"1.
1
"
"version"
:
"1.
2
"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment