├── .gitignore ├── Config ├── development │ └── app.json ├── droplet.json ├── fluent.json └── sqlite.json ├── LICENSE ├── Package.pins ├── Package.swift ├── Public └── css │ ├── admin.css │ └── style.css ├── README-CN.md ├── README.md ├── Resources └── Views │ ├── admin │ ├── base.leaf │ ├── index.leaf │ ├── login.leaf │ ├── posts.leaf │ └── write-post.leaf │ ├── base.leaf │ └── index.leaf ├── Sources └── App │ ├── Controllers │ └── AdminController.swift │ ├── Models │ ├── Post.swift │ └── User.swift │ ├── Tags │ └── TruncatecharsTag.swift │ └── main.swift └── app.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/.gitignore -------------------------------------------------------------------------------- /Config/development/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Config/development/app.json -------------------------------------------------------------------------------- /Config/droplet.json: -------------------------------------------------------------------------------- 1 | { 2 | "view": "leaf" 3 | } -------------------------------------------------------------------------------- /Config/fluent.json: -------------------------------------------------------------------------------- 1 | { 2 | "driver": "sqlite" 3 | } 4 | -------------------------------------------------------------------------------- /Config/sqlite.json: -------------------------------------------------------------------------------- 1 | { 2 | "path": "db.sqlite" 3 | } 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.pins: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Package.pins -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Package.swift -------------------------------------------------------------------------------- /Public/css/admin.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Public/css/admin.css -------------------------------------------------------------------------------- /Public/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Public/css/style.css -------------------------------------------------------------------------------- /README-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/README-CN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/README.md -------------------------------------------------------------------------------- /Resources/Views/admin/base.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Resources/Views/admin/base.leaf -------------------------------------------------------------------------------- /Resources/Views/admin/index.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Resources/Views/admin/index.leaf -------------------------------------------------------------------------------- /Resources/Views/admin/login.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Resources/Views/admin/login.leaf -------------------------------------------------------------------------------- /Resources/Views/admin/posts.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Resources/Views/admin/posts.leaf -------------------------------------------------------------------------------- /Resources/Views/admin/write-post.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Resources/Views/admin/write-post.leaf -------------------------------------------------------------------------------- /Resources/Views/base.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Resources/Views/base.leaf -------------------------------------------------------------------------------- /Resources/Views/index.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Resources/Views/index.leaf -------------------------------------------------------------------------------- /Sources/App/Controllers/AdminController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Sources/App/Controllers/AdminController.swift -------------------------------------------------------------------------------- /Sources/App/Models/Post.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Sources/App/Models/Post.swift -------------------------------------------------------------------------------- /Sources/App/Models/User.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Sources/App/Models/User.swift -------------------------------------------------------------------------------- /Sources/App/Tags/TruncatecharsTag.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Sources/App/Tags/TruncatecharsTag.swift -------------------------------------------------------------------------------- /Sources/App/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/Sources/App/main.swift -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isaced/NSPress/HEAD/app.json --------------------------------------------------------------------------------