Skip to content

jmdesiderio/swan-cms

Repository files navigation

swan-cms

Todos

  • Components
    • Alert
    • Flash Message
    • Modal
    • Dialog
    • CSS transitions
  • Add reselect
  • Create animated switch for form
  • Create loading state
  • Add unit tests
  • Add webpack hot reload
  • Style forms for config pages and make overrides for login page style
  • Select react components to use - modal, virtualized list, etc
  • Write a breadcrumb component with app route tree
  • Add router paths constants file to enable using named routes
  • Integrate flow types
  • Improve chrome debugger experience
  • Configure relative import path
  • Add lint staged
  • Convert to style-lint for styled-components
  • Immutable redux?
  • Pick icons theme pack
  • Add shared folder containing enums
  • Add user permissions
  • Add a node logger
  • Create data flow chart
  • Audit packages and remove or utilize
  • Dev server with auto refresh
  • Figure out plug in architecture
  • Look into webpack-blocks
  • Create user friendly errors
  • Address TODOs
  • a11y audit
  • l18n audit
  • security audit
  • switch to npm5 when released
  • Create production build with optimizations

App Directory Structure

User Directory Structure

  • config
  • plugins
  • static
  • storage
  • templates

Database

Setup

  • CREATE EXTENSION IF NOT EXISTS "pgcrypto";

Migrations

  • npm run knex:migrate

Rollbacks

  • npm run knex:rollback

.env

Template

{
  "node": {
    "env": "development"
  },
  "token": {
    "secret": ""
  },
  "db": {
    "client": "pg",
    "host": "localhost",
    "database": "",
    "username": "",
    "password": ""
  }
}

About

A CMS built with javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published