/kea

A sample website demo. Node.js, Express.js, MongoDB, etc.

Primary LanguageJavaScript

Kea

To start:

$ npm install
$ npm start

A work in progress.

TODO

  1. Login.

    1. Create a MongoDB users table
    2. Login page needs to Authenticate against username and hashed password.
    3. If confirmed, create the JSON Web Token. You can include access level, name, etc. But never the password.
    4. Once you have the JWT, you can pass it around requests
    5. There will be a middleware to check this token
    6. JWT will be stored in client or passed along requests (???). But for this instance, we just store it in cookie (http-only) then read from it.
  2. Admin Pages.

  3. Setup Webpack, Babel, VueJS or React.

  4. Tests

  5. Deployment