Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
easybistro-api-docker
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sasit Wiratjinda
easybistro-api-docker
Commits
6f33acd8
Commit
6f33acd8
authored
Nov 23, 2022
by
Ai-Sasit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test docker
parent
4f85411e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
core.py
server/core.py
+0
-5
No files found.
server/core.py
View file @
6f33acd8
...
...
@@ -29,12 +29,7 @@ app.add_middleware(
@app.get
(
"/"
)
def
read_root
():
return
{
"Project"
:
"Easy Bistro"
,
"Framework"
:
"Fast API"
,
"Interpreter"
:
"Python"
,
'API Version'
:
version
}
@app.get
(
"/test"
)
def
read_root
():
return
{
"Project"
:
"Easy Bistro"
,
"Framework"
:
"Fast API"
,
"Interpreter"
:
"Python"
,
'API Version'
:
version
}
app
.
include_router
(
scb
,
prefix
=
"/v1"
,
tags
=
[
"SCB API"
])
app
.
include_router
(
user
,
prefix
=
"/api"
,
tags
=
[
"Office User"
])
app
.
include_router
(
shop
,
prefix
=
"/api"
,
tags
=
[
"Shop"
])
...
...
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