MCPcopy Index your code
hub / github.com/brechtbilliet/winecellar

github.com/brechtbilliet/winecellar @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
191 symbols 315 edges 65 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

winecellar

This is the repository of an angular2 course written by Brecht Billiet. You can check the course at http://workshop.brecht.io The backend of this application is available on https://github.com/brechtbilliet/WineCellarBackend

make an account at the wine.com api and get an api key

https://api.wine.com/signup

demo

http://winecellar.surge.sh

Install

git clone git@github.com/brechtbilliet/winecellar.git
cd winecellar
npm install
npm start --apikey=<yourapikeyforwine.com> --backendenv=http://localhost:3000/api

Build for production

npm run build --apikey=<yourapikeyforwine.com> --backendenv=http://localhost:3000/api

Deploy with surge

npm run deploy --apikey=<yourapikeyforwine.com> --backendenv=http://localhost:3000/api

Technology stack

  • [x] Angular2
  • [x] Webpack
  • [x] Typescript
  • [x] Rxjs
  • [x] @ngrx/store
  • [x] redux architecture
  • [x] shadow DOM

Features

  • [x] Build an angular2 application with webpack
  • [x] fully tested with Jasmine
  • [x] sass support
  • [x] Typescript support
  • [x] ES6 modules support
  • [x] Wallaby.js support
  • [x] Optimized build package
  • [x] Minimal and straightforward setup
  • [x] Watches code and refreshes browser with latest changes automatically

Extension points exported contracts — how you extend this code

Account (Interface)
(no doc)
src/authentication/types/Account.ts
WineComSearchResult (Interface)
(no doc)
src/stock/services/wineCom.service.ts
ApplicationState (Interface)
(no doc)
src/common/state/ApplicationState.ts
AuthenticationResult (Interface)
(no doc)
src/authentication/types/AuthenticationResult.ts
Products (Interface)
(no doc)
src/stock/services/wineCom.service.ts
IDataState (Interface)
(no doc)
src/common/state/DataState.ts
Credentials (Interface)
(no doc)
src/authentication/types/Credentials.ts
Product (Interface)
(no doc)
src/stock/services/wineCom.service.ts

Core symbols most depended-on inside this repo

handle
called by 9
src/common/services/busyHandler.service.ts
winesReducer
called by 8
src/common/reducers/data/winesReducer.ts
getHttpOptions
called by 7
src/stock/services/wine.service.ts
onError
called by 6
src/stock/services/wine.service.ts
authenticationReducer
called by 4
src/common/reducers/data/authenticationReducer.ts
applicationReducer
called by 4
src/common/reducers/containers/applicationReducer.ts
collapsableSidebarReducer
called by 4
src/common/reducers/containers/collapsableSidebarReducer.ts
editStockReducer
called by 4
src/common/reducers/containers/editStockReducer.ts

Shape

Method 86
Class 76
Interface 18
Function 11

Languages

TypeScript100%

Modules by API surface

src/stock/services/wineCom.service.ts13 symbols
src/stock/services/wine.service.ts12 symbols
src/authentication/services/authentication.service.ts8 symbols
src/stock/containers/wine-search/wine-search.container.ts7 symbols
src/stock/components/detail-wine-form/detail-wine-form.component.ts7 symbols
src/stock/sandboxes/stock-page.sandbox.ts6 symbols
src/stock/sandboxes/edit-stock-page.sandbox.ts6 symbols
src/stock/containers/stock-page/stock-page.container.ts6 symbols
src/common/sandboxes/application.sandbox.ts6 symbols
src/authentication/containers/authentication/authentication.container.ts6 symbols
src/stock/containers/edit-stock-page/edit-stock-page.container.ts5 symbols
src/stock/components/wine-results/wine-results.component.ts5 symbols

For agents

$ claude mcp add winecellar \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact