Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Seperate sockets/routes from the rest of the app. #24

Open
stayradiated opened this issue Feb 12, 2014 · 0 comments
Open

Seperate sockets/routes from the rest of the app. #24

stayradiated opened this issue Feb 12, 2014 · 0 comments

Comments

@stayradiated
Copy link
Member

Sockets, Routes

- init.coffee
- controllers/
  - router.coffee
  - socket.coffee
  - validation.coffee
- routes/*.coffee

Sync, Users, Database

- controllers/
  - auth.coffee
  - connect.coffee
  - query.coffee
  - sync.coffee
  - table.coffee
  - users.coffee
- database/*.coffee
- models/*.coffee

Directory Structure

  • core/
    • index.coffee
    • config.coffee
    • server/
      • index.coffee
      • routes/
        • *.coffee
      • controllers/
        • router.coffee
        • socket.coffee
        • validation.coffee
    • app/
      • index.coffee
      • tables/
        • *.coffee
      • controllers/
        • auth.coffee
        • redis.coffee?
        • db.coffee
        • sync.coffee
        • users.coffee
      • models/
        • user.coffee
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant