summaryrefslogtreecommitdiff
path: root/NodeJSServer
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-09-27 17:44:03 +0200
committerTrueDoctor <d-kobert@web.de>2018-09-27 17:44:03 +0200
commite8dc39bf293aa0c6f2eb27104d5023c5a56e1ba4 (patch)
treeb938213388339b3fd3c2a367b2a55dd99861c426 /NodeJSServer
parentf8018831b42fa9f534494babcd496f77e4709166 (diff)
parent48a4b8eaf531ed2eb14a053035e66b05ad36521e (diff)
Merge branch 'WebApi' of https://github.com/TrueDoctor/DiscoBot into WebApi
Diffstat (limited to 'NodeJSServer')
-rw-r--r--NodeJSServer/NodeJSServer.njsproj77
-rw-r--r--NodeJSServer/README.md3
-rw-r--r--NodeJSServer/package.json9
-rw-r--r--NodeJSServer/server.js8
4 files changed, 0 insertions, 97 deletions
diff --git a/NodeJSServer/NodeJSServer.njsproj b/NodeJSServer/NodeJSServer.njsproj
deleted file mode 100644
index 1cae2c8..0000000
--- a/NodeJSServer/NodeJSServer.njsproj
+++ /dev/null
@@ -1,77 +0,0 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
- <PropertyGroup>
- <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
- <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
- <Name>NodeJSServer</Name>
- <RootNamespace>NodeJSServer</RootNamespace>
- <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
- </PropertyGroup>
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>57064377-c08c-4218-9c55-0552d40f3877</ProjectGuid>
- <ProjectHome>.</ProjectHome>
- <StartupFile>server.js</StartupFile>
- <SearchPath>
- </SearchPath>
- <WorkingDirectory>.</WorkingDirectory>
- <OutputPath>.</OutputPath>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <ProjectTypeGuids>{3AF33F2E-1136-4D97-BBB7-1795711AC8B8};{349c5851-65df-11da-9384-00065b846f21};{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}</ProjectTypeGuids>
- <NodejsPort>1337</NodejsPort>
- <StartWebBrowser>true</StartWebBrowser>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
- <DebugSymbols>true</DebugSymbols>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
- <DebugSymbols>true</DebugSymbols>
- </PropertyGroup>
- <ItemGroup>
- <Compile Include="server.js" />
- <Content Include="package.json" />
- <Content Include="README.md" />
- </ItemGroup>
- <!-- Do not delete the following Import Project. While this appears to do nothing it is a marker for setting TypeScript properties before our import that depends on them. -->
- <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="False" />
- <Import Project="$(VSToolsPath)\Node.js Tools\Microsoft.NodejsTools.targets" />
- <ProjectExtensions>
- <VisualStudio>
- <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
- <WebProjectProperties>
- <UseIIS>False</UseIIS>
- <AutoAssignPort>True</AutoAssignPort>
- <DevelopmentServerPort>0</DevelopmentServerPort>
- <DevelopmentServerVPath>/</DevelopmentServerVPath>
- <IISUrl>http://localhost:48022/</IISUrl>
- <NTLMAuthentication>False</NTLMAuthentication>
- <UseCustomServer>True</UseCustomServer>
- <CustomServerUrl>http://localhost:1337</CustomServerUrl>
- <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
- </WebProjectProperties>
- </FlavorProperties>
- <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}" User="">
- <WebProjectProperties>
- <StartPageUrl>
- </StartPageUrl>
- <StartAction>CurrentPage</StartAction>
- <AspNetDebugging>True</AspNetDebugging>
- <SilverlightDebugging>False</SilverlightDebugging>
- <NativeDebugging>False</NativeDebugging>
- <SQLDebugging>False</SQLDebugging>
- <ExternalProgram>
- </ExternalProgram>
- <StartExternalURL>
- </StartExternalURL>
- <StartCmdLineArguments>
- </StartCmdLineArguments>
- <StartWorkingDirectory>
- </StartWorkingDirectory>
- <EnableENC>False</EnableENC>
- <AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
- </WebProjectProperties>
- </FlavorProperties>
- </VisualStudio>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/NodeJSServer/README.md b/NodeJSServer/README.md
deleted file mode 100644
index 114a250..0000000
--- a/NodeJSServer/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# NodeJSServer
-
-
diff --git a/NodeJSServer/package.json b/NodeJSServer/package.json
deleted file mode 100644
index 74f3c41..0000000
--- a/NodeJSServer/package.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "name": "node-jsserver",
- "version": "0.0.0",
- "description": "NodeJSServer",
- "main": "server.js",
- "author": {
- "name": "Dennis"
- }
-}
diff --git a/NodeJSServer/server.js b/NodeJSServer/server.js
deleted file mode 100644
index 0c553eb..0000000
--- a/NodeJSServer/server.js
+++ /dev/null
@@ -1,8 +0,0 @@
-'use strict';
-var http = require('http');
-var port = process.env.PORT || 1337;
-
-http.createServer(function (req, res) {
- res.writeHead(200, { 'Content-Type': 'text/plain' });
- res.end('Hello World\n');
-}).listen(port);