clevr / quest-board

A gamified to-do application (╯°□°)╯︵ ┻━┻
0 stars 0 forks source link

README Update #1

Closed wildtron closed 9 years ago

wildtron commented 9 years ago
airondumael commented 9 years ago

question for the frontend guys. will you be using build tools?

if so I think will need another folder for the frontend that will contain the source files and just have the public as dist. of the processed files.

airondumael commented 9 years ago
.
+-- cmd // contains build-able main packages
|    +-- api  // main package for api
|    +-- frontend // main package for frontend
|    +-- realtime // main package for realtime app (ws?)
+-- frontend // source file for the frontend
+-- core // shared packages that will be use by api and realtime
+-- api // go codes for the web api
+-- realtime // or what ever name  
+-- public // destination for the processed frontend codes 

suggestion for the folder structure

wildtron commented 9 years ago

how about we rename cmd to src?

eshleebien commented 9 years ago

i think better if we use src :+1:

airondumael commented 9 years ago

it's not really the whole source code. it will look like this https://github.com/gorward/todo/tree/master/cmd/webapi. it will only contain the main package that will call the real source codes from /api and /realtime directories. how about bin?

wildtron commented 9 years ago

oke, I think if that's the case, we should remove cmd/frontend.

airondumael commented 9 years ago

yes if will use apache or nginx. I put it there because we can also use go to serve those static files by creating a simple http server inside cmd/frontend.

eshleebien commented 9 years ago

for static file, I guess let's use nginx/apache because they are really good at that plus we can use their caching mechanisms and other advance configurations than creating a simple http server. btw, I prefer nginx over apache.

wildtron commented 9 years ago

oke.. what now la? i change readme.

wildtron commented 9 years ago

@clevr/prime I've changed README.md. see if that works.

airondumael commented 9 years ago

:+1: