Giter Club home page Giter Club logo

siteify's Introduction

Siteify

Under development Node content management system that allows users to quickly deploy single page sites and upload their own require, commonjs packages to be used on the pages they choose.

Live Updating

Using the power of sockets, the site owner can publish changes which will be visible instantly to end users without a page refresh.

Under Development

This is currently heavily under development and will eventually include a full test suite, build process and much more.

siteify's People

Contributors

poodlehat avatar

Stargazers

Dev By Ray avatar Digital Knight avatar

Watchers

James Cloos avatar Digital Knight avatar  avatar

Forkers

poodlehat

siteify's Issues

Refactor App.js

The way the choices are made between going to setup, start, page creation etc. Also, the Backbone.History is being started once but in multiple places which is a bit confusing.

Siteify setup

Create user, set Siteify properties to indicate the setup is complete and create first home page.

Store the user ID on the sesh

Instead of the email which it currently is. Although both are unique, I want to be able to change the email address of a user.

Passing of context in to router

Check out why i've decided to pass the context in to the router init. I think it might be due to packages sharing the router.

Refresh Tokens

Implement refresh tokens and test by setting expiry to very short. Already half done.

User and admin templates

Have to figure this out still. Will the user save HTML blobs, create templates? Move the admin or siteify templates to another place other than in templates.

Unique page name

Can have multiple pages the same name. Although this isn't a problem, it could still cause problems.

Each page will have it's path and route dynamically created before save in Mongo. Although it would be bad to have the same name at the same level for example :

www.siteify.io/about
www.siteify.io/about

It's not a problem to have :

www.siteify.io/customer
www.siteify.io/people/customer

As the routes would be different. . . .

The solution for now would be to add unique : true to the page model in Node and also to save wasting a request, check if the page title is unique in the pages collection.

User List

Create the users management list and crud options for the site owner.

Store Page content in Mongo

Store the template in one property and map that content to the templates to be resolved on the frontend.

The mongo documents will look something like this :

pageDocument : {
  contentTemplate: "<h1>{{na37hn37a3rhn7a3rhn7a}}</h1><p>{{38ncrw37irgnw37rwngc37}}</p>",
  contentMap : {
    na37hn37a3rhn7a3rhn7a : "Page Title",
    38ncrw37irgnw37rwngc37 : "This is my nice paragraph text"
  }
  other props ...
}

Redirect to login after account registration

Once the user registers for the first time, redirect to login and return to the user that they created the account.

res.redirect('login?registered=1');
if (req.param('registered') === '1') {
messages = flash('Congratulations, your account was created!', null);
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.