MCPcopy Index your code
hub / github.com/barbar/vortigern

github.com/barbar/vortigern @v0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1 ↗ · + Follow
43 symbols 109 edges 34 files 1 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Vortigern

Dependency Status devDependency Status Code Climate GitHub issues GitHub license


Vortigern is our opinionated boilerplate for crafting universal web applications by using modern technologies like TypeScript, React and Redux.

Libraries

Vortigern uses the following libraries and tools:

Core

Utilities

Build System

Dev & Prod Server

Developer Experience

Testing

Folder Structure

.
├── build                       # Built, ready to serve app.
├── config                      # Root folder for configurations.
│   ├── test                    # Test configurations.
│   ├── types                   # Global type definitions, written by us.
│   ├── webpack                 # Webpack configurations.
│   └── main.ts                 # Generic App configurations.
├── node_modules                # Node Packages.
├── src                         # Source code.
│   ├── app                     # App folder.
│   │ ├── components            # React Components.
│   │ ├── containers            # React/Redux Containers.
│   │ ├── helpers               # Helper Functions & Components.
│   │ ├── redux                 # Redux related code aka data layer of the app.
│   │ │   ├── modules           # Redux modules.   
│   │ │   ├── reducers.ts       # Main reducers file to combine them.  
│   │ │   └── store.ts          # Redux store, contains global app state.    
│   │ └── routes.tsx            # Routes.
│   ├── client.tsx              # Entry point for client side rendering.
│   └── server.tsx              # Entry point for server side rendering.
├── typings                     # Type definitions installed with typings.              
├── .dockerignore               # Tells docker which files to ignore.
├── .gitignore                  # Tells git which files to ignore.
├── .stylelintrc                # Configures stylelint.
├── Dockerfile                  # Dockerfile.
├── favicon.ico                 # Favicon.
├── package.json                # Package configuration.
├── README.md                   # This file
├── tsconfig.json               # TypeScript transpiler configuration.
├── tslint.json                 # Configures tslint.
└── typings.json                # Typings package configuration.

Installation

$ git clone https://github.com/barbar/vortigern
$ cd vortigern
$ npm install

Usage

All commands defaults to development environment. You can set NODE_ENV to production or use the shortcuts below.

# Running

$ npm start # This starts the app in development mode

# Starting it with the production build
$ NODE_ENV=production npm start # or
$ npm run start:prod

# Building 

$ npm build # This builds the app in development mode

# Commands below builds the production build
$ NODE_ENV=production npm build # or
$ npm run build:prod

# Testing
$ npm test

For Windows users, we recommend using the shortcuts instead of setting environment variables because they work a little different on Windows.

Notes

# If you want install additional libraries, you can also install their typings from DefinitelyTyped
$ typings install dt~<package> --global --save
# or if it's located on npm
$ typings install <package> --save

Legal

Vortigern is released under the MIT license. The image in this README belongs to hhvferry.com.

Extension points exported contracts — how you extend this code

HtmlProps (Interface)
(no doc)
src/app/containers/Html/Html.tsx
Window (Interface)
(no doc)
config/types/dev.d.ts
IProps (Interface)
(no doc)
src/app/containers/Counter/Counter.tsx
ObjectConstructor (Interface)
(no doc)
config/types/dev.d.ts
IProps (Interface)
(no doc)
src/app/containers/Stars/Stars.tsx
IStars (Interface)
(no doc)
src/app/redux/modules/stars/stars.model.ts
IStarsAction (Interface)
(no doc)
src/app/redux/modules/stars/stars.model.ts

Core symbols most depended-on inside this repo

resolve
called by 16
src/app/containers/Html/Html.tsx
renderComponent
called by 5
src/app/helpers/TestHelper.tsx
assign
called by 4
config/types/dev.d.ts
configureStore
called by 3
src/app/redux/store.ts
starsFailure
called by 2
src/app/redux/modules/stars/stars.ts
renderHTML
called by 1
src/server.tsx
render
called by 1
src/app/containers/App/App.tsx
getStars
called by 1
src/app/redux/modules/stars/stars.ts

Shape

Class 14
Function 11
Interface 9
Method 9

Languages

TypeScript100%

Modules by API surface

src/app/redux/modules/stars/stars.ts5 symbols
src/app/containers/Html/Html.tsx5 symbols
src/app/containers/Stars/Stars.tsx4 symbols
src/app/containers/Counter/Counter.tsx4 symbols
src/app/redux/modules/counter/counter.ts3 symbols
src/app/containers/Home/Home.tsx3 symbols
src/app/containers/App/App.tsx3 symbols
src/app/containers/About/About.tsx3 symbols
src/app/components/Header/Header.tsx3 symbols
config/types/dev.d.ts3 symbols
src/app/redux/modules/stars/stars.model.ts2 symbols
src/app/redux/modules/counter/counter.model.ts2 symbols

For agents

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

⬇ download graph artifact