Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
57 changes: 57 additions & 0 deletions .angular-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "testing"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"styles.css"
],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"lint": [
{
"project": "src/tsconfig.app.json"
},
{
"project": "src/tsconfig.spec.json"
},
{
"project": "e2e/tsconfig.e2e.json"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "css",
"component": {}
}
}
52 changes: 44 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,46 @@
.DS_Store
/abodeConfig.json
/server-build
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc

# dependencies
/node_modules
/media-server-storage
/jekyll/_build
/jekyll/.sass-cache
/jekyll/_source

# IDEs and editors
/.idea
/log-files
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
testem.log
/typings

# e2e
/e2e/*.js
/e2e/*.map

# System Files
.DS_Store
Thumbs.db

/data
/syncFromServer
/syncToServer
27 changes: 23 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
# Abode

Abode is a TypeScript Node.js Backend that is built to support [IndieWeb](https://indieweb.org) principles. The front-end is currently built using [Jekyll](http://jekyllrb.com).
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.1.2.

This website is used to power [EddieHinkle.com](https://eddiehinkle.com), some of the current currently might be geared to this design. Over time I plan to make less and less of Abode dependent on my needs and more generic for general use.
## Development server

## License
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

Abode is released under the MIT license.
## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
16 changes: 16 additions & 0 deletions abodeConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"server": "http://eddie2.dev",
"PORT": 7021,
"micropub": {
"authenticationEndpoint": "https://eddiehinkle.com",
"tokenEndpoint": "https://tokens.indieauth.com/token"
},
"goodreads": {
"key": "KSXzo3GFar32jnjtiVlQjw",
"secret": "hP7UPqEHVGUlDEdAd5JiRsiCwBj5OMDqPwe5rZz9o",
"userid": 22018436
},
"webmention": {
"token": "rP0doMN2q937ZVzForcEzQ"
}
}
15 changes: 0 additions & 15 deletions abodeConfig.json.example

This file was deleted.

80 changes: 0 additions & 80 deletions config/people.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions e2e/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { AbodePage } from './app.po';

describe('abode App', () => {
let page: AbodePage;

beforeEach(() => {
page = new AbodePage();
});

it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!!');
});
});
11 changes: 11 additions & 0 deletions e2e/app.po.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { browser, by, element } from 'protractor';

export class AbodePage {
navigateTo() {
return browser.get('/');
}

getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}
12 changes: 12 additions & 0 deletions e2e/tsconfig.e2e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"module": "commonjs",
"target": "es5",
"types": [
"jasmine",
"node"
]
}
}
56 changes: 0 additions & 56 deletions jekyll/_config.yml

This file was deleted.

12 changes: 0 additions & 12 deletions jekyll/_local_config.yml

This file was deleted.

Loading