Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2023-029
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
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2023-029
2023-029
Commits
655c7e76
Commit
655c7e76
authored
Sep 06, 2023
by
janithgamage1.ed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update
parent
865b85b6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
8 deletions
+14
-8
Project/Backend/Server_Node/.env
Project/Backend/Server_Node/.env
+2
-0
Project/Backend/Server_Node/.gitignore
Project/Backend/Server_Node/.gitignore
+1
-1
Project/Backend/Server_Node/Procfile
Project/Backend/Server_Node/Procfile
+1
-0
Project/Backend/Server_Node/server.js
Project/Backend/Server_Node/server.js
+7
-6
Project/Backend/Server_Python/Procfile
Project/Backend/Server_Python/Procfile
+1
-0
Project/Backend/Server_Python/requirements.txt
Project/Backend/Server_Python/requirements.txt
+2
-1
No files found.
Project/Backend/Server_Node/.env
0 → 100644
View file @
655c7e76
DB_PASSWORD = JppbU6MZeHfOj7sp
DB_USERNAME = admin
\ No newline at end of file
Project/Backend/Server_Node/.gitignore
View file @
655c7e76
...
...
@@ -73,7 +73,7 @@ web_modules/
.yarn-integrity
# dotenv environment variable files
.env
#
.env
.env.development.local
.env.test.local
.env.production.local
...
...
Project/Backend/Server_Node/Procfile
0 → 100644
View file @
655c7e76
web: yarn start
\ No newline at end of file
Project/Backend/Server_Node/server.js
View file @
655c7e76
...
...
@@ -23,18 +23,19 @@ import userProgressRoutes from "./routes/userProgress.routes.js";
dotenv
.
config
();
const
app
=
express
();
const
corsOptions
=
{
origin
:
'
http://localhost:3000
'
,
origin
:
'
http://localhost:3001
'
,
};
//
const corsOptions = {
//
origin: 'http://localhost:3000',
//
origin: 'http://localhost:3001',
//
};
app
.
use
(
bodyParser
.
json
({
limit
:
"
30mb
"
,
extended
:
true
}));
app
.
use
(
bodyParser
.
urlencoded
({
limit
:
"
30mb
"
,
extended
:
true
}));
app
.
use
(
cors
(
corsOptions
));
// app.use(cors(corsOptions));
app
.
use
(
cors
());
//end
app
.
get
(
"
/
"
,
(
req
,
res
)
=>
{
res
.
json
({
message
:
"
Welcome to S
erver Node
"
});
res
.
json
({
message
:
"
Welcome to S
ign Connect Plus Node Backend
"
});
});
//implement routes
...
...
Project/Backend/Server_Python/Procfile
0 → 100644
View file @
655c7e76
web: uvicorn main:app --reload
\ No newline at end of file
Project/Backend/Server_Python/requirements.txt
View file @
655c7e76
...
...
@@ -8,4 +8,5 @@ SpeechRecognition==3.10.0
tk==0.1.0
requests==2.31.0
pymongo==4.5.0
librosa==0.10.1
\ No newline at end of file
librosa==0.10.1
gunicorn==21.2.0
\ No newline at end of file
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