Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
328 commits
Select commit Hold shift + click to select a range
08d9ed7
converted the rest of tests
yohny Oct 26, 2019
dc29ef7
removed double space, changed version to 2.0, launch browser on debug
yohny Oct 27, 2019
c3039f4
removed svicons setting
yohny Oct 27, 2019
cf94bff
updated types and test script
yohny Oct 31, 2019
cf6abc8
transpile to es2018
yohny Oct 31, 2019
1779ec1
use istalled mocha entry script
yohny Oct 31, 2019
c06ecf6
pass parser as argument
yohny Nov 1, 2019
49345a2
fixed buffer deprecation warning
yohny Nov 1, 2019
be66147
removed travis config
yohny Nov 1, 2019
9b0e226
Merge pull request #156 from ERNICommunity/typescript
yohny Nov 1, 2019
72ae8e7
Set up CI with Azure Pipelines
yohny Nov 1, 2019
ed412f2
updated CI badge
yohny Nov 1, 2019
f5d15d0
collect test results
yohny Nov 1, 2019
ebf6668
removed test results file
yohny Nov 1, 2019
a547fef
Update azure-pipelines.yml for Azure Pipelines
yohny Nov 1, 2019
e254ef8
use ci optimized install commands
yohny Nov 1, 2019
5a90d76
Merge branch 'master' of github.com:ERNICommunity/at11
yohny Nov 1, 2019
e0e925f
added artifact publishing to pipeline
yohny Nov 1, 2019
9451c02
added full build result archiving to pipeline
yohny Nov 4, 2019
6f8bcb5
corrected copy task
yohny Nov 4, 2019
b269eee
added node_modules to build artifacts
yohny Nov 4, 2019
11a7f6f
use absolute paths for hbs templates
yohny Nov 4, 2019
4dfadff
use absolute path for static content registration
yohny Nov 4, 2019
0759c04
removed obsolete eslint config
yohny Nov 4, 2019
6197096
app insight also for client side
yohny Nov 4, 2019
c4b9974
remove dev dependencies before packaging
yohny Nov 4, 2019
6150594
proper price formating
yohny Nov 5, 2019
2141f01
npm audit fix
yohny Nov 5, 2019
77b446e
show failure message also for empty menu
yohny Nov 5, 2019
dd9be19
siple loader added
yohny Nov 5, 2019
e7d832d
make menu date query parameter
yohny Nov 5, 2019
1e60e5c
make date-matching in giuliano more robust
yohny Nov 5, 2019
9b41545
corrected lambda context
yohny Nov 7, 2019
a12211a
improved guiliano parser
yohny Nov 7, 2019
9543a5a
updated dependencies
yohny Nov 8, 2019
f3721e8
updated dependencies
yohny Nov 23, 2019
29bc0d9
npm audit fixes
yohny Nov 23, 2019
05c0dc4
added suppoort for new pizzapazza, closes #157
yohny Dec 13, 2019
ac27f5f
updated types
yohny Dec 13, 2019
920316d
updated dependencies
yohny Jan 16, 2020
27e76ab
improved date matching
yohny Jan 16, 2020
d673a23
added particka, closes #158, minor improvements
yohny Jan 16, 2020
668cd23
fixed tests
yohny Jan 16, 2020
cfe259d
updated app insides script
yohny Jan 16, 2020
345abab
use shared date regex
yohny Jan 16, 2020
8a76070
removed extra slash
yohny Jan 20, 2020
f19cd82
adjusted particka parser
yohny Jan 20, 2020
30f62e7
remove possible soup duplicate in pizza pazza
yohny Jan 20, 2020
cd2a65a
better soup handling in tiffany
yohny Jan 20, 2020
0393082
better soup handling in kamenica
yohny Jan 20, 2020
c721f00
improved alfa
yohny Jan 20, 2020
9365c01
updated dependencies
yohny Feb 4, 2020
a8850e3
remove deprecated binary endocing, fixes null charset crash
yohny Feb 4, 2020
3e328e0
fixed tslint errors
yohny Feb 4, 2020
0c4b656
in production use use scraperApi for zomato pages
yohny Feb 18, 2020
ca9234b
fixed lokalka
yohny Feb 18, 2020
b5ad58f
Added Petrzalska Klubovna
Lord-of-Fate Feb 26, 2020
dbd81b3
added Petrzalska Klubovna
Lord-of-Fate Feb 26, 2020
fd1f4fa
Merge pull request #162 from Lord-of-Fate/master
yohny Feb 26, 2020
157b5b7
adjusted lokalka
yohny Feb 26, 2020
4ed25ac
improved item numbering handling
yohny Feb 26, 2020
a7ac6e3
replace accented š in day name for pizza pazza url
yohny Feb 26, 2020
0f52027
improved numbering removal
yohny Feb 28, 2020
b2cad3e
updated dependencies
yohny Feb 28, 2020
9c4a709
improved debug test configuration
yohny Feb 28, 2020
a67d65f
refactoring and url handling improvement
yohny Feb 29, 2020
33752b8
avoid parallel fetching+parsing runs for the same source, fixes #161
yohny Feb 29, 2020
19dca44
updated node runtime and typescript
yohny Feb 29, 2020
2a4687d
minor code improvements
yohny Mar 11, 2020
3862158
updated dependencies
yohny Mar 11, 2020
44f6425
updated appInsights snippet
yohny Mar 11, 2020
b7159ca
favicon in default location added robots.txt
yohny Mar 11, 2020
94011e8
updated dependencies
yohny Mar 11, 2020
8f459b4
raplace url before using it as a key
yohny Mar 12, 2020
51dd95c
updated masonry
yohny Mar 12, 2020
9efad92
added input sanitization
yohny Mar 13, 2020
aa2df69
improved VS code instructions
yohny Mar 13, 2020
25364a3
removed browser prefixes and ignored properties
yohny Mar 14, 2020
5eed33e
removed unused bootstrap.js
yohny Mar 14, 2020
80b6b6b
removed unused html classes, formmated css stylesheet
yohny Mar 14, 2020
2ab5218
reworked UI, closes #155
yohny Mar 14, 2020
eb81227
minor improvements
yohny Mar 14, 2020
5862548
load jquery only once, updated jquery
yohny Mar 14, 2020
1114a3c
reduced number of resources
yohny Mar 14, 2020
21b0e22
start appInsights only when APPINSIGHTS_INSTRUMENTATIONKEY is set (pr…
yohny Mar 15, 2020
f48a8d5
corretcd C1 range character usage in html5
yohny Mar 15, 2020
ee3ab60
defer javascript
yohny Mar 15, 2020
7d2a301
center the sections, small css improvements
yohny Mar 16, 2020
c466b74
styling improvements
yohny Mar 16, 2020
3213950
removed unused css
yohny Mar 18, 2020
92380f0
reduced font definitions
yohny Mar 16, 2020
ea4dd2a
removed unnecessary window references
yohny Mar 18, 2020
bdf2794
improved layout
yohny Mar 19, 2020
5284353
improved html semantics
yohny Mar 20, 2020
9cbcfea
sticky footer
yohny Mar 20, 2020
d126af4
updated dev dependencies
yohny Mar 29, 2020
9e347b2
corrected closing tag
yohny Mar 29, 2020
5e702d4
typo fix
yohny Mar 29, 2020
eac1735
always format date using sk locale
yohny Mar 29, 2020
396da92
better clock positioning (true center, dont unnecessary overlay content)
yohny Mar 29, 2020
86ca57d
cache also errors
yohny Mar 30, 2020
5cb24c7
use union types for simplification
yohny Mar 30, 2020
ef83703
format prices using sk locale
yohny Mar 31, 2020
aebd56e
support multiple soups in Particka
yohny Mar 31, 2020
9356e88
removed unreliable negative cache unit tests
yohny Mar 31, 2020
1603858
small styling changes
yohny Mar 31, 2020
6ee50d1
updated dependencies
yohny Apr 6, 2020
ac0c95a
adjusted to OCR service changes
yohny Apr 7, 2020
59e24c6
adjusted engerau parsing
yohny Apr 7, 2020
9e049bc
trigger additional masonry layout after page is fully loaded
yohny Apr 14, 2020
32e9dca
updated jquery
yohny Apr 14, 2020
9e4bfc9
fixed deprecated api
yohny Apr 14, 2020
3e63d64
updated dependencies
yohny Apr 17, 2020
7167d13
updated launch json
yohny Apr 23, 2020
512ae75
updated types
yohny Apr 23, 2020
0739ab1
updated dependencies
yohny May 6, 2020
af5d19c
increase timeouts and add request timeout to config
yohny May 14, 2020
e27122c
updated dependencies
yohny May 14, 2020
02688a6
added accept-language header
yohny May 15, 2020
5d9609d
updated dependencies
yohny Jun 16, 2020
0061009
updated App Insights js snippet
yohny Jun 16, 2020
0a631df
updated jquery
yohny Jun 16, 2020
04b58c5
introduced multiple location support
yohny Jun 16, 2020
b9c45ee
base SME parser
yohny Jun 16, 2020
2a3e21a
add location selector
yohny Jun 16, 2020
0db62de
added derby pub
yohny Jun 17, 2020
71d0d4f
added mkm restaurant
yohny Jun 17, 2020
19ead8f
added classicrestaurant pub
yohny Jun 17, 2020
2dd83e6
removed itb integration tests
yohny Jun 17, 2020
20c3bb4
Merge pull request #165 from ERNICommunity/multipleLocations
yohny Jun 17, 2020
21cb7b7
remove menu numbering
yohny Jun 17, 2020
4ba504d
menucka base parser, added sidliskova pivarnicka
yohny Jun 17, 2020
a4f13e8
Replace tslint with eslint
srnec Jun 23, 2020
b4274bf
updated appinsights and node types
yohny Jun 26, 2020
16ce668
Migrate from moment to date-fns
srnec Jun 23, 2020
db009aa
Migrate from request to axios
srnec Jun 23, 2020
ab7e13c
Add eslint rule to not require trailing commas in arrays or object li…
srnec Jun 28, 2020
4593611
Merge branch 'master' into refactor
srnec Jun 28, 2020
702ffa8
Merge pull request #166 from srnec/refactor
yohny Jun 29, 2020
6cf1ef2
Change tsconfig - taken example from Microsoft TypeScript-Node-Starte…
srnec Jun 28, 2020
b672aca
Replace custom cache with NodeCache library
srnec Jun 28, 2020
84e73e4
Add no-console eslint rule to warn when it finds usage of other than …
srnec Jun 28, 2020
b0ddc28
Fix no unused vars warnings in config.ts
srnec Jun 28, 2020
14b2e35
Configure eslint rule to allow '_ => {}'
srnec Jul 1, 2020
0228282
Add eslint rule to include spacing between curly braces
srnec Jul 1, 2020
39d5e49
Add eslint rule to fix spacing
srnec Jul 1, 2020
0d0965b
Remove unnecessary typedefs
srnec Jul 1, 2020
48c86b5
Merge pull request #168 from srnec/refactor-2nd
yohny Jul 1, 2020
0d3aacf
updated dependencies
yohny Jul 11, 2020
70975a3
types corrected
yohny Jul 11, 2020
208de8b
updated dependencies
yohny Oct 11, 2020
d1687f9
bumped node runtime to 14.10
yohny Oct 11, 2020
1fbb6eb
fixed linting errors
yohny Oct 11, 2020
9958d43
independent pretest linting
yohny Oct 11, 2020
e3c3bae
don lint in buld script
yohny Oct 11, 2020
1c3da57
updated dependencies
yohny Jan 20, 2021
d8ab14d
updated dev dependencies
yohny Jan 20, 2021
8c41b92
update appinsigths snippet
yohny Jan 20, 2021
bcf3f8e
minor code improvements
yohny Apr 25, 2021
a430f26
updated dependencies
yohny Apr 25, 2021
0d928f9
dont use clones for caching
yohny Sep 11, 2021
fdcd175
updated dependencies
yohny Sep 11, 2021
5061d24
updated dependencies
yohny Sep 21, 2021
8e45e79
updated dependencies
yohny Oct 21, 2021
f92513f
fixed linting error
yohny Oct 22, 2021
fb408de
updated node types
yohny Oct 22, 2021
3c57a51
log message adjustments
yohny Oct 22, 2021
75450b5
updated dependencies
yohny Nov 5, 2021
cbeff9e
updated dependencies
yohny Nov 13, 2021
79246cc
updated dependencies
yohny Dec 11, 2021
81b89c4
update to node 16.13.x
yohny Dec 11, 2021
2c65510
updated dependencies
yohny Jan 11, 2022
f9e5542
updated dependencies
yohny Jan 20, 2022
eae4dad
minor code improvements
yohny Jan 20, 2022
e0c9b55
updated dependencies
yohny Feb 4, 2022
26392cf
updated dependencies
yohny Feb 27, 2022
d5a546a
updated dependencies
yohny Mar 7, 2022
43de80d
updated dependencies
yohny Mar 20, 2022
289d4aa
updated dependencies and pipeline link
yohny Jul 12, 2022
2066860
include package.json in build artifact
yohny Jul 12, 2022
3c78d14
updated dependencies and transpilation target
yohny Sep 28, 2022
b432584
updated dependencies
yohny Nov 5, 2022
8daec5c
switch to app insights connection string
yohny Nov 5, 2022
f5e8074
updated dependencies
yohny Dec 6, 2024
890c6ea
Update azure-pipelines.yml for Azure Pipelines
yohny Dec 6, 2024
8fafbe3
removed obsolete dependency status badge
yohny Jan 2, 2025
7d673e0
updated dependencies
yohny Jan 2, 2025
1429417
use async parsers
yohny Jan 2, 2025
47a5c84
Create azure-webapps-node.yml
yohny Feb 22, 2025
eb0f157
exclude test results from git
yohny Feb 22, 2025
6dee480
include only usefull files into artifact
yohny Feb 22, 2025
024b507
remove azure pipelines confing
yohny Feb 22, 2025
4618259
remove main entry
yohny Feb 22, 2025
58aa7cb
another round of promisification and small improvements
yohny Feb 22, 2025
9ba934e
removed dead restaurants
yohny Feb 22, 2025
b4d49ed
updated dependenceis
yohny Feb 22, 2025
04d48aa
removed obsolete parsers and cleanup
yohny Feb 22, 2025
994633b
updated clien appInsights snippet
yohny Feb 22, 2025
ceca650
added workflow badge
yohny Feb 22, 2025
71c08e9
added pretart scripts and updated readme
yohny Feb 22, 2025
df479d1
add custom statrtup command to github action
yohny Feb 22, 2025
6d70c19
reverted unsupported startup script option
yohny Feb 22, 2025
f892983
added suport for .env file
yohny Feb 26, 2025
90976bb
update dependencies
yohny Mar 11, 2025
efc82a5
updated dependencies
yohny Mar 15, 2025
df6e0ff
remove unnecessary async
yohny Mar 15, 2025
c6fef76
get rid of support for multiple locations and refactor url factory in…
yohny Mar 18, 2025
5f849f3
updated jquery
yohny Mar 18, 2025
344a5fe
added pomodoro rosso restaurant
yohny Mar 18, 2025
7412713
use record for restaurant config
yohny Mar 29, 2025
77cb2f4
updated dependencies
yohny Mar 29, 2025
c72b597
move appinsights intialization to the beginning and allow w3c tracing
yohny Mar 29, 2025
c92a9c7
add .env file to debug setup
yohny Jul 25, 2025
82cf900
cleanup running requests
yohny Jul 25, 2025
687660a
updated dependencies
yohny Jul 25, 2025
3555c99
update node vesrion and env name
yohny Jul 25, 2025
151f143
remove comments and rename app artifact
yohny Jul 26, 2025
710ab0c
added test reportong
yohny Jul 27, 2025
38d1b86
fixed workflow file
yohny Jul 27, 2025
20e0ac7
updated dependencies
yohny Oct 12, 2025
4b7f390
adjusted estint and added prettier
yohny Oct 12, 2025
cc49e41
updated dependencies
yohny Nov 18, 2025
41e6665
invert running request condition
yohny Nov 18, 2025
5dfa48f
updated prune command
yohny Nov 18, 2025
0dda67e
updated tsconfig to use node module type
yohny Nov 18, 2025
7c004a1
migrate to ESM modules
yohny Nov 20, 2025
bf11e48
run workflow also on PR, but deplo only on master push
yohny Nov 25, 2025
3572c45
get rid of vriable braces
yohny Nov 25, 2025
2c285d4
Bump body-parser from 2.2.0 to 2.2.1
dependabot[bot] Nov 25, 2025
4621f78
dont format package-lock
yohny Nov 25, 2025
eb217ab
Merge branch 'master' into dependabot/npm_and_yarn/body-parser-2.2.1
yohny Nov 25, 2025
d3f327a
Merge pull request #181 from ERNICommunity/dependabot/npm_and_yarn/bo…
yohny Nov 25, 2025
78109d1
Bump express from 5.1.0 to 5.2.0
dependabot[bot] Dec 1, 2025
fc25bd3
Bump jws from 3.2.2 to 3.2.3
dependabot[bot] Dec 4, 2025
639e547
Merge pull request #182 from ERNICommunity/dependabot/npm_and_yarn/ex…
yohny Dec 7, 2025
336b041
Merge pull request #183 from ERNICommunity/dependabot/npm_and_yarn/jw…
yohny Dec 7, 2025
30126c9
updated package.json
yohny Dec 7, 2025
8d01379
updated dependencies
yohny Dec 7, 2025
c716708
improved eslint config
yohny Dec 7, 2025
de09326
updated dependencies
yohny Jan 31, 2026
d868b08
updated dependecies and added startup error handling
yohny Apr 24, 2026
ce48ce8
explicitly added globals package
yohny Apr 24, 2026
be9910a
fixed obsolete setting
yohny Apr 24, 2026
748da00
updated jquery
yohny Apr 24, 2026
14ff02b
updated application insights
yohny Apr 24, 2026
bf41098
updated github actions
yohny Apr 24, 2026
836d039
updated node version to 24
yohny Apr 25, 2026
40e9c99
updated dependencies
yohny May 29, 2026
9bf76f7
removed Clock block restaurant
yohny May 29, 2026
c92e1f6
updated dependencies
yohny Jul 22, 2026
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
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
end_of_line = crlf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
88 changes: 88 additions & 0 deletions .github/workflows/azure-webapps-node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"

env:
AZURE_WEBAPP_NAME: at11
AZURE_WEBAPP_PACKAGE_PATH: "."
NODE_VERSION: "24.x"

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"

- name: Install and build
run: |
npm ci
npm run build

- name: Linting & formatting checks
run: |
npm run lint
npm run format:check

- name: Run tests
run: |
npm install mocha-ctrf-json-reporter --no-save
npm test -- --reporter mocha-ctrf-json-reporter

- name: Publish Test Report
uses: ctrf-io/github-test-reporter@v1
with:
report-path: "./ctrf/*.json"
github-report: true

- name: Cleanup dev dependencies
run: |
npm prune --omit=dev

- name: Upload artifact
uses: actions/upload-artifact@v7
with:
name: at11-app
path: |
dist/**/*.js
!dist/test/
static/
views/
node_modules/
package.json

deploy:
if: github.ref_name == 'master' && github.event_name == 'push'
permissions:
contents: none
runs-on: ubuntu-latest
needs: build
environment:
name: "Production"
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v8
with:
name: at11-app

- name: "Deploy to Azure WebApp"
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
44 changes: 23 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*~

pids
logs
results
temp

npm-debug.log
node_modules
/nbproject/private/
.idea/
*.iml
.vscode
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*~

pids
logs
results
temp

npm-debug.log
node_modules
/nbproject/private/
.idea/
*.iml
dist
.env
ctrf
51 changes: 0 additions & 51 deletions .jscsrc

This file was deleted.

21 changes: 0 additions & 21 deletions .jshintrc

This file was deleted.

2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test/samples
package-lock.json
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
// Use IntelliSense to learn about possible 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": "launch",
"name": "Debug at11",
"runtimeArgs": ["--env-file-if-exists=.env"],
"program": "${workspaceFolder}/app.ts",
"preLaunchTask": "${defaultBuildTask}",
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"internalConsoleOptions": "openOnSessionStart",
"serverReadyAction": {
"action": "openExternally",
"pattern": "Done, listening on .* port: (\\d+)"
}
},
{
"type": "node",
"request": "launch",
"name": "Debug tests",
"runtimeExecutable": "npx",
"runtimeArgs": [
"mocha",
"--exit",
"--no-timeouts",
"--colors",
"./dist/test"
],
"preLaunchTask": "${defaultBuildTask}",
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"internalConsoleOptions": "openOnSessionStart"
}
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"js/ts.tsdk.path": "node_modules/typescript/lib",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
16 changes: 16 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "typescript",
"tsconfig": "tsconfig.json",
"problemMatcher": ["$tsc"],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
46 changes: 24 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
[![Build Status](https://travis-ci.org/ERNICommunity/at11.svg?branch=master)](https://travis-ci.org/ERNICommunity/at11)
[![Dependency Status](https://david-dm.org/ERNICommunity/at11.svg)](https://david-dm.org/ERNICommunity/at11)

at11
==========

Simple web application that fetches daily lunch menus from popular restaurants near [ERNI Slovakia office](http://erni.sk).

Live application is running at [http://at11.azurewebsites.net/](http://at11.azurewebsites.net/).


Developer's installation instructions
---

This is a [Node.js](http://nodejs.org). powered application, so first you need to have Node.js up and running. You can get node.js installers [from here](https://nodejs.org/en/download/).

1. Get the [sources](https://github.com/at11/at11/archive/master.zip) and extract them locally. You can also clone the repository if you wish. If you want to contribute feel free to [fork the repo](https://help.github.com/articles/fork-a-repo), make improvements and create pull requests.
2. Change into directory with sources `cd path/to/sources`.
3. Execute `npm install`. This might take a while as all required dependecies need to be downloaded.
4. After successful installation execute `npm start`. This will prompt a few messages, last of them being `Done, listening on http://:::54321` and hang.
5. Navigate your browser to [http://localhost:54321](http://localhost:54321) and you should see today's menus.
6. You can execute `npm test` to run the tests.
![Workflow Status](https://github.com/ERNICommunity/at11//actions/workflows/azure-webapps-node.yml/badge.svg)

# at11

Simple web application that fetches daily lunch menus from popular restaurants near [ERNI Slovakia office](http://erni.sk).

Live application is running at [http://at11.azurewebsites.net/](http://at11.azurewebsites.net/).

## Developer's installation instructions

This is a [Node.js](http://nodejs.org) powered application writen it [TypeScript](https://www.typescriptlang.org), so first you need to have Node.js up and running.

1. Get the source code by either [downloading a zip](https://github.com/at11/at11/archive/master.zip) or cloning this repo.
1. Change into directory with extracted/cloned sources `cd path/to/sources`.
1. Execute `npm install`. This might take a moment as all required dependecies need to be downloaded.
1. Execute `npm start`. This will build and start the application.
1. Navigate your browser to [http://localhost:54321](http://localhost:54321) and you should see today's menus.
1. You can execute `npm test` to run the tests and linter.

P.S.: [Visual Studio Code](https://code.visualstudio.com/) settings are included in the repo, so if you use it, you are all set up (including debugging). You need to do only first 3 steps, then launch VS Code in that directory (`code .`), hit _F5_, lean back and relax...

## Contributing

Feel free to [fork the repo](https://help.github.com/articles/fork-a-repo), make improvements and create a pull request.
Loading