This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Added Dockerfile and docker-compose file #142
Open
shamin
wants to merge
140
commits into
microsoft:master
Choose a base branch
from
shamin:add-docker
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
140 commits
Select commit
Hold shift + click to select a range
d7905d7
initial commit
9a6ccfb
README Title Update
502ac88
update README
a9664be
removed yarn section
c2d938a
added nodemon as dev dependency
9c3e0df
Update references from bowdenk7 repo to Microsoft repo
mrtnjln f943c5e
Update README.md
888d8a2
Update README.md
3df842e
Merge branch 'master' into master
8c35e5d
Merge pull request #2 from julienmartin/master
2eae2fd
added package-lock for npm5 and fixed bug with flash messages
c9b6765
Merge pull request #6 from Microsoft/bugFix
4608459
Update README.md
aff88f2
Added `build` `preLaunchTask` for debug configuration
Deilan 54c291b
Merge pull request #7 from Deilan/vscode-task-build
d423251
Removed duplication in npm scripts `serve` and `watch`
Deilan a7ef8d5
Removed duplicate README section
0cec294
fix typo
backmeupplz 61d4512
Merge pull request #8 from Deilan/npm-run-server-dup
d6d880c
fix: copying issues
kevguy 5472454
fix: fix for tslint
kevguy 76c4593
fit error TS2559: Type '4' has no properties in common with type 'Mi…
cobola bb5281e
Merge pull request #26 from cobola/master
5c796ca
port changes from PR #11
9601c65
Merge pull request #30 from Microsoft/testing
6d9fee1
Merge pull request #24 from kevguy/fix-copy
38be103
Merge pull request #22 from backmeupplz/patch-1
a50b2a9
Added survey links that I forgot ><
c80e236
fix: fix lint warnings for test files
kevguy da5b277
Bump tasks.json version from 0.10 to 2.00. Add default build task.
fpoumian 32f4302
Merge pull request #32 from fpoumian/fix-vscode-tasks-version
3f1c52a
updating package-lock
684e4a3
looks like new version of npm adds a blank line after each npm instal…
9592b03
updated specific .d.ts files to point to definitely typed file. Also …
9710a63
update to node 8 on travis
ac3c52c
removed yarn as npm 5 makes it mostly unneccesary and it's causing so…
0026e88
Merge pull request #33 from Microsoft/removeYarn
08e570e
add attach debug configuration
d559bac
fix: word
49bb4c1
.
f9eae65
Merge pull request #34 from thanhtdt/master
c8dbb29
Update build task
lostintangent 5cd9602
Merge pull request #35 from lostintangent/master
ed149eb
Merge pull request #31 from kevguy/test-fix
0acc845
change tests to not always pass
dmt 8946ae7
separate server binding to port from other app config
dmt 9d8741e
might as well also add the change for issue #41
dmt 534cd4a
Update README.md
nmchaves d151ad7
feat(*): update several dependencies
alan-agius4 4066839
Removed extra "s" in sourceMap compilerOptions
sebastianseilund 0dddad0
Merge pull request #56 from sebastianseilund/sourcemaps-typo
9c8f67f
Merge pull request #50 from nmchaves/patch-1
aa75060
Merge pull request #53 from alan-agius4/feature/bump=deps
7631ad5
Update README.md
nmchaves f80b88c
feat(*): update several dependencies
alan-agius4 365b4b7
Removed extra "s" in sourceMap compilerOptions
sebastianseilund 58eb768
change tests to not always pass
dmt b3eddf3
separate server binding to port from other app config
dmt 3f1c47e
fix conflicts
98d1641
fix up tests
ca7c9e5
Merge pull request #38 from dmt/master
a040f51
update repo field
7d8b4d1
feat: move jest config to external file
alan-agius4 5fbf79d
docs: update `jest` section
alan-agius4 41b9d2d
Support all-typescript tooling with ts-node
peterblazejewicz 67baced
Add VSCode CosmosDB extension recommendation
peterblazejewicz e8ecc30
made some changes to mongo connection
40bdb4e
Merge pull request #63 from Microsoft/connectionRework
fb9a740
add the line to compile dist folder
thatkookooguy 960bacc
Merge pull request #58 from alan-agius4/feature/jest-conf
3daedf5
Merge pull request #66 from Thatkookooguy/patch-1
7642c20
update year in footer
840936a
Merge pull request #61 from peterblazejewicz/feat/cosmodb
0e36d83
Merge branch 'master' into feat/ts-node
d56722c
Merge branch 'master' into feat/ts-node
1436c8f
Merge pull request #60 from peterblazejewicz/feat/ts-node
f7211d8
updated debug instructions to use only attach config
0e3e30e
feat: update several dependencies and devDependencies (#59)
alan-agius4 d1a2c95
changed description of npm start
0513c92
coverage/chai support and some unit tests
irenexychen f52c194
Merge pull request #68 from dorongrinstein/master
f2fdabf
Update view markups for HTML5
peterblazejewicz 1a362f0
Add memo about VSCode suggested extensions to README
peterblazejewicz 5be3f07
Replace Lusca definition file with @types/lusca
peterblazejewicz 3a4f043
Replace passport-local definition file with @types/passport-local
peterblazejewicz 2e54055
Update Bootstrap from 3.3.6 to 3.3.7
peterblazejewicz d412ef7
Add missing alt attr to non-decorative images
peterblazejewicz cf83a75
Merge pull request #69 from peterblazejewicz/update/layout
9e73c01
Merge pull request #70 from peterblazejewicz/update/readme
545e048
Merge pull request #71 from peterblazejewicz/types/lusca
0081ef4
Merge pull request #73 from peterblazejewicz/types/passport-local
5d5c947
Merge pull request #74 from peterblazejewicz/update/bootstrap
6ebb38a
Merge pull request #75 from peterblazejewicz/fix/alts-attr
5240093
Update README.md
b08cec2
Update README.md with MongoDB config
tioback 17980b2
Merge pull request #79 from tioback/tioback-monbodb-config
b1aefbb
Update source and dependency to work with TypeScript 2.7. Closes #81
peterblazejewicz dc5a23f
Merge pull request #85 from peterblazejewicz/feat/81
3680618
Do not store output from coverage tests in repo
peterblazejewicz d5d41cd
ignoring coverage reports
d0403de
Update ShellJS version
peterblazejewicz d15b403
Merge pull request #86 from peterblazejewicz/feat/gitignore
fc4c2b2
Merge pull request #88 from peterblazejewicz/feat/update-shelljs
c31ac30
ignoring coverage reports
3a76607
WIP - add azure instructions
50a966d
found a better config setup I like
e3acde1
replaced logging with Winston
31818ba
fixed github button
39e6d09
finished README updates for zip deploying to azure app service
7aad826
removed white space
0a5b1ba
updated dependency table in README
6c27740
added image
101235a
additional README updates
3b76dc4
more readme updates
56993dd
fixed some imports
4d90599
Merge pull request #92 from Microsoft/addAzure
476b74f
Typo in ts-jest name
davojan 31e140e
Merge pull request #95 from davojan/patch-1
7ef664c
Merge branch 'master' of https://github.com/Microsoft/TypeScript-Node…
d6e5409
add google analytics to example site
e2a7afa
update comment
52a4f6a
use import instead of require in ts file
Meir017 431f276
Merge pull request #99 from Meir017/patch-1
dcc5965
use same signature for model function & ts type
Meir017 25efc37
Update jQuery content version. Fixes #103
peterblazejewicz 370fbf6
Add missing BS3 glyphicon fonts. Fixes #98
peterblazejewicz 8009911
Merge pull request #104 from peterblazejewicz/fix/103
685cad2
Merge pull request #105 from peterblazejewicz/fix/98
6b97068
Merge pull request #100 from Meir017/patch-2
8b7097d
Add `watch-test` Script
swseverance a7c66cf
Merge pull request #109 from swseverance/watch-test-command
72aebf4
Syntax highlighting
theel0ja 6700280
Merge pull request #111 from theel0ja/patch-1
5fa12eb
Fix Error: Unknown authentication strategy "local"
ToryTran 91725ad
Remove duplicate entry in .gitignore
antamb 6206f64
Merge pull request #120 from ToryTran/master
25ef6a0
Merge pull request #123 from antamb/master
c8a2c2d
Fix typo in README.md
sajadtorkamani 4ea67b5
Merge pull request #128 from sajadtorkamani/doc-fix/typo
DanielRosenwasser ad01779
Added Dockerfile and docker-compose file
shamin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
# Note we depend on NODE_ENV being set to dictate which of the env variables below get loaded at runtime. | ||
# See README for more details. | ||
|
||
# Get this from https://mlab.com/home after you've logged in and created a database | ||
MONGODB_URI=mongodb://<mlab_user>:<mlab_password>@<mlab_connection_url> | ||
|
||
# This is standard running mongodb locally | ||
MONGODB_URI_LOCAL=mongodb://localhost:27017 | ||
|
||
# Put lots of randomness in these | ||
SESSION_SECRET=ashdfjhasdlkjfhalksdjhflak | ||
|
||
# Facebook keys - register your app and get yours here: https://developers.facebook.com/ | ||
FACEBOOK_ID=754220301289665 | ||
FACEBOOK_SECRET=41860e58c256a3d7ad8267d3c1939a4a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,252 +1,39 @@ | ||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.userosscache | ||
*.sln.docstates | ||
|
||
# User-specific files (MonoDevelop/Xamarin Studio) | ||
*.userprefs | ||
|
||
# Build results | ||
[Dd]ebug/ | ||
[Dd]ebugPublic/ | ||
[Rr]elease/ | ||
[Rr]eleases/ | ||
x64/ | ||
x86/ | ||
bld/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
[Ll]og/ | ||
|
||
# Visual Studio 2015 cache/options directory | ||
.vs/ | ||
# Uncomment if you have tasks that create the project's static files in wwwroot | ||
#wwwroot/ | ||
|
||
# MSTest test Results | ||
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
|
||
# NUNIT | ||
*.VisualState.xml | ||
TestResult.xml | ||
|
||
# Build Results of an ATL Project | ||
[Dd]ebugPS/ | ||
[Rr]eleasePS/ | ||
dlldata.c | ||
|
||
# DNX | ||
project.lock.json | ||
artifacts/ | ||
|
||
*_i.c | ||
*_p.c | ||
*_i.h | ||
*.ilk | ||
*.meta | ||
*.obj | ||
*.pch | ||
*.pdb | ||
*.pgc | ||
*.pgd | ||
*.rsp | ||
*.sbr | ||
*.tlb | ||
*.tli | ||
*.tlh | ||
*.tmp | ||
*.tmp_proj | ||
lib-cov | ||
*.seed | ||
*.log | ||
*.vspscc | ||
*.vssscc | ||
.builds | ||
*.pidb | ||
*.svclog | ||
*.scc | ||
|
||
# Chutzpah Test files | ||
_Chutzpah* | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
*.aps | ||
*.ncb | ||
*.opendb | ||
*.opensdf | ||
*.sdf | ||
*.cachefile | ||
*.VC.db | ||
*.VC.VC.opendb | ||
|
||
# Visual Studio profiler | ||
*.psess | ||
*.vsp | ||
*.vspx | ||
*.sap | ||
|
||
# TFS 2012 Local Workspace | ||
$tf/ | ||
|
||
# Guidance Automation Toolkit | ||
*.gpState | ||
|
||
# ReSharper is a .NET coding add-in | ||
_ReSharper*/ | ||
*.[Rr]e[Ss]harper | ||
*.DotSettings.user | ||
|
||
# JustCode is a .NET coding add-in | ||
.JustCode | ||
|
||
# TeamCity is a build add-in | ||
_TeamCity* | ||
|
||
# DotCover is a Code Coverage Tool | ||
*.dotCover | ||
|
||
# NCrunch | ||
_NCrunch_* | ||
.*crunch*.local.xml | ||
nCrunchTemp_* | ||
|
||
# MightyMoose | ||
*.mm.* | ||
AutoTest.Net/ | ||
|
||
# Web workbench (sass) | ||
.sass-cache/ | ||
|
||
# Installshield output folder | ||
[Ee]xpress/ | ||
|
||
# DocProject is a documentation generator add-in | ||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
# Click-Once directory | ||
publish/ | ||
|
||
# Publish Web Output | ||
*.[Pp]ublish.xml | ||
*.azurePubxml | ||
# TODO: Comment the next line if you want to checkin your web deploy settings | ||
# but database connection strings (with potential passwords) will be unencrypted | ||
*.pubxml | ||
*.publishproj | ||
|
||
# Microsoft Azure Web App publish settings. Comment the next line if you want to | ||
# checkin your Azure Web App publish settings, but sensitive information contained | ||
# in these scripts will be unencrypted | ||
PublishScripts/ | ||
|
||
# NuGet Packages | ||
*.nupkg | ||
# The packages folder can be ignored because of Package Restore | ||
**/packages/* | ||
# except build/, which is used as an MSBuild target. | ||
!**/packages/build/ | ||
# Uncomment if necessary however generally it will be regenerated when needed | ||
#!**/packages/repositories.config | ||
# NuGet v3's project.json files produces more ignoreable files | ||
*.nuget.props | ||
*.nuget.targets | ||
|
||
# Microsoft Azure Build Output | ||
csx/ | ||
*.build.csdef | ||
|
||
# Microsoft Azure Emulator | ||
ecf/ | ||
rcf/ | ||
|
||
# Windows Store app package directories and files | ||
AppPackages/ | ||
BundleArtifacts/ | ||
Package.StoreAssociation.xml | ||
_pkginfo.txt | ||
|
||
# Visual Studio cache files | ||
# files ending in .cache can be ignored | ||
*.[Cc]ache | ||
# but keep track of directories ending in .cache | ||
!*.[Cc]ache/ | ||
|
||
# Others | ||
ClientBin/ | ||
~$* | ||
*~ | ||
*.dbmdl | ||
*.dbproj.schemaview | ||
*.pfx | ||
*.publishsettings | ||
node_modules/ | ||
orleans.codegen.cs | ||
|
||
# Since there are multiple workflows, uncomment next line to ignore bower_components | ||
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) | ||
#bower_components/ | ||
|
||
# RIA/Silverlight projects | ||
Generated_Code/ | ||
|
||
# Backup & report files from converting an old project file | ||
# to a newer Visual Studio version. Backup files are not needed, | ||
# because we have git ;-) | ||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
UpgradeLog*.htm | ||
|
||
# SQL Server files | ||
*.mdf | ||
*.ldf | ||
|
||
# Business Intelligence projects | ||
*.rdl.data | ||
*.bim.layout | ||
*.bim_*.settings | ||
*.csv | ||
*.dat | ||
*.out | ||
*.pid | ||
*.gz | ||
*.swp | ||
|
||
# Microsoft Fakes | ||
FakesAssemblies/ | ||
pids | ||
logs | ||
results | ||
tmp | ||
|
||
# GhostDoc plugin setting file | ||
*.GhostDoc.xml | ||
# Build | ||
public/css/main.css | ||
|
||
# Node.js Tools for Visual Studio | ||
.ntvs_analysis.dat | ||
# Coverage reports | ||
coverage | ||
|
||
# Visual Studio 6 build log | ||
*.plg | ||
# API keys and secrets | ||
.env | ||
|
||
# Visual Studio 6 workspace options file | ||
*.opt | ||
# Dependency directory | ||
node_modules | ||
bower_components | ||
|
||
# Visual Studio LightSwitch build output | ||
**/*.HTMLClient/GeneratedArtifacts | ||
**/*.DesktopClient/GeneratedArtifacts | ||
**/*.DesktopClient/ModelManifest.xml | ||
**/*.Server/GeneratedArtifacts | ||
**/*.Server/ModelManifest.xml | ||
_Pvt_Extensions | ||
# Editors | ||
.idea | ||
*.iml | ||
|
||
# Paket dependency manager | ||
.paket/paket.exe | ||
paket-files/ | ||
# OS metadata | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# FAKE - F# Make | ||
.fake/ | ||
# Ignore built ts files | ||
dist/**/* | ||
|
||
# JetBrains Rider | ||
.idea/ | ||
*.sln.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
{ | ||
"language": "node_js", | ||
"node_js": "8", | ||
"services": [ | ||
"mongodb" | ||
], | ||
"script": [ | ||
"npm run build", | ||
"npm run test" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"eg2.tslint", | ||
"ms-azuretools.vscode-cosmosdb", | ||
"streetsidesoftware.code-spell-checker" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
// Use IntelliSense to learn about possible Node.js debug attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "attach", | ||
"name": "Attach by Process ID", | ||
"processId": "${command:PickProcess}", | ||
"protocol": "inspector" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"search.exclude": { | ||
"**/node_modules": true, | ||
"**/bower_components": true, | ||
"**/dist": true, | ||
"**/coverge": true | ||
}, | ||
"typescript.referencesCodeLens.enabled": true, | ||
"tslint.ignoreDefinitionFiles": false, | ||
"tslint.autoFixOnSave": true, | ||
"tslint.exclude": "**/node_modules/**/*", | ||
"cSpell.words": [ | ||
"csrf", | ||
"definitelytyped", | ||
"promisified" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "build", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM node:latest | ||
|
||
WORKDIR /usr/src/app | ||
|
||
COPY package*.json ./ | ||
|
||
RUN npm install | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably its better to use |
||
|
||
COPY . . | ||
|
||
EXPOSE 3000 | ||
RUN [ "npm", "run", "build" ] | ||
CMD [ "npm", "start" ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably LN9 will copy package*.json as well.