Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wasm-watermarker
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nagayama15
wasm-watermarker
Commits
e5726bfa
Commit
e5726bfa
authored
May 27, 2019
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement the simplest express server
parent
b30a9040
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
1 deletion
+28
-1
.dockerignore
.dockerignore
+1
-0
.gitignore
.gitignore
+1
-0
package.json
server/package.json
+5
-1
index.ts
server/src/index.ts
+9
-0
tsconfig.json
server/tsconfig.json
+12
-0
No files found.
.dockerignore
View file @
e5726bfa
...
@@ -2,3 +2,4 @@
...
@@ -2,3 +2,4 @@
/.vscode/
/.vscode/
node_modules/
node_modules/
dist/
.gitignore
View file @
e5726bfa
...
@@ -2,3 +2,4 @@
...
@@ -2,3 +2,4 @@
/.vscode/
/.vscode/
node_modules/
node_modules/
dist/
server/package.json
View file @
e5726bfa
...
@@ -3,7 +3,11 @@
...
@@ -3,7 +3,11 @@
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"description"
:
"A WebAssembly Watermarking Server"
,
"description"
:
"A WebAssembly Watermarking Server"
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"scripts"
:
{},
"scripts"
:
{
"start"
:
"node dist/index.js"
,
"dev"
:
"ts-node src/index.ts"
,
"build"
:
"tsc"
},
"repository"
:
{
"repository"
:
{
"type"
:
"git"
,
"type"
:
"git"
,
"url"
:
"git@github.com/NagayamaRyoga/wasm-watermark.git"
"url"
:
"git@github.com/NagayamaRyoga/wasm-watermark.git"
...
...
server/src/index.ts
0 → 100644
View file @
e5726bfa
import
*
as
express
from
"express"
;
const
port
=
3000
;
const
app
=
express
();
const
server
=
app
.
listen
(
port
,
()
=>
{
console
.
log
(
`server listening at port
${
port
}
`
);
});
server/tsconfig.json
0 → 100644
View file @
e5726bfa
{
"compilerOptions"
:
{
"module"
:
"commonjs"
,
"noImplicitAny"
:
true
,
"removeComments"
:
true
,
"preserveConstEnums"
:
true
,
"outDir"
:
"dist"
,
"sourceMap"
:
true
},
"include"
:
[
"src/**/*"
],
"exclude"
:
[
"node_modules"
]
}
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