meantjs / meant

MIT License
0 stars 2 forks source link

Core Components #2

Open codydaig opened 8 years ago

codydaig commented 8 years ago

Tech Stack

mleanos commented 8 years ago

This is a good start..

I think we should stick with MongoDB for now. It could be worthwhile looking at a way to build the database integration, in a way that allows the db choice to be configurable. This could be difficult, but very powerful in a framework.

What should the directory structure look like?

codydaig commented 8 years ago

how about:

/src - All Typescript Files will live in here /src/index.ts - will start the server /src/lib - will be the config/lib folder in meanjs /src/config - config files will live in here /src/app/routes - Server routes /src/app/controllers - Server controllers /src/app/models - Database models /src/client - All client Files /src/client/module name/ - Each module files

/tests - All Tests reside in here

mleanos commented 8 years ago

I'm down with that structure. SGTM!

Would we have environment configs, residing with the config files? For instance, /src/confg/env/local.ts? You know me, and how I like having configurable environmental configs :)

codydaig commented 8 years ago

There's going tee be a discussion on how many are actually needed, but yes.

codydaig commented 8 years ago

The config module will be yours though.

mleanos commented 8 years ago

:+1: I can accept that responsibility :)