f.orum

Persistent Tests: ================= npm run test:watch

Usage no npm install needed!

<script type="module">
  import fOrum from 'https://cdn.skypack.dev/f.orum';
</script>

README

Build Status

Persistent Tests:

npm run test:watch

Run App:

npm start

Debug App:

npm run start:debug

Run Test Suite:

npm test

Run Test Suite in Debug Mode:

npm run test:debug

Proposed Directory Structure:

Let's Try This:

|-- app
|   |-- controllers
|   |-- models
|   |-- views
|   `-- client
|       `-- browser
|           |-- controllers
|           |-- models
|           |-- views
|       `-- mobile
|           |-- controllers
|           |-- models
|           |-- views
`-- config
`-- lib
`-- spec
`-- vendor

https://gist.github.com/viatropos/1398757 for more

Migrations:

Sequelize might give us the tools that we need to set up a database in code, but it's possible that we'll need to do migrations manually.

Here's how the manual approach could work:

  1. Create a .sql file in /db/
  2. psql -d {dbname} -a -f db/{filename}.sql

Currently, you must set up the session table manually:

psql -d {dbname} -a -f node_modules/connect-pg-simple/table.sql

Compiling Client-side Templates:

Some templates are used client-side too and currently must be compiled manually. e.g. jade --client --no-debug app/views/posts/post.jade