Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ htmlcov/
# virtual environments
.venv

# Dependency directories
node_modules

# Serverless directories
.serverless/

# Azure Functions json config
host.json
local.settings.json

# Files generated for development
.env
timetracker-api-postman-collection.json
Expand Down
107 changes: 107 additions & 0 deletions V2/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# Azure Functions json config
host.json
local.settings.json

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TypeScript output
dist
out

# Azure Functions artifacts
bin
obj
appsettings.json
local.settings.json
.python_packages/

# Python
__pycache__/

# Virtual Environments
env/
.env/
.venv/
15 changes: 15 additions & 0 deletions V2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
install:
@echo "Installing Time Tracker"
npm install
pip install --upgrade pip
pip install -r requirements.txt
@echo "Completed! "

deploy:
@echo "Using serverless.yml provider config to deploy"
@echo "Deploying Time Tracker to Azure..."
sls deploy
rm -rf .serverless
rm -f host.json
rm -f local.settings.json
@echo "Completed! "
3 changes: 3 additions & 0 deletions V2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Azure Functions

Refer to [Serverless docs](https://serverless.com/framework/docs/providers/azure/guide/intro/) for more information.
Loading