base-express's People
Forkers
hectorbastida zhou-xinghai shahzaibalikhan rolandnsharp dangelzm chianquan totti12 alexpchin hubware vlym green-leaves jaw-drop vehas iksose kayzej dl988 gorillastudioske alperg seanscal newset aahaikal mkrishnaa irecaldema waqasnoor haryasa chsyu skamithi raj93 wowgeeker aerii davisman123 rgplvr samuraitruong angelorubin sebmenozzi salaid jeddeh alexlopezc fpudo pjmnb007 trycrmr nateslo creativo-pty cldh214 kanimuni zhangbg ilyabeliaev varisingh ima8 mohammedmatar kiemduong dleviathan arielshad o-kamiye diablofong hoainam1988 meshboy netfoxlabs hackohackob mhrnik jkim55 ferreiros-lab mntan oldgordon sushilgujar malinosqui guncloud michaelvu812 dracobg sonychan0807 favoriabs onceclick jekin6 ddrevnov ajudensi ashpc phamvanthuan roberto-belardo romanliuk peterharding jpll imsonujangra narutoo9x xspired01 tkstang ryanthissen kvinzheng ivonneq21 paolitaclo holdonowgo mattimus333 atul-gupta47 bkbartondesign sanjeevmurthy redanium tunv-iteal coolboxgames chrislander silnose thachitbase-express's Issues
Base, Jade, transformer dependencies are changed
npm WARN package.json [email protected] No repository field.
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install th
e latest version of pug instead of jade
npm WARN deprecated [email protected]: Deprecated, use jstransformer
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install th
e latest version of pug instead of jade
update code to use ES6 and Node v6.
Hey! First I want to thank you for this awesome base-project ๐
Do you think you could eventually update it so that it uses ES6 standards (with all new features) and Node.js v.6.0.0? ๐
[Question] Large application structure
How to structure a large API REST (or application) that contains around 50 files ?
**By type like this : **
Controller
---- Module1
---- Module2
Models
---- Module1
---- Module2
**or by feature like this : **
Module1
---- Controller
---- Models
Module2
---- Controller
---- Models
Needs licence
If this repo is meant to be a starting point for other apps then it ought to have a licence. AL2 or MIT etc would be good as they are commercial friendly.
req.path is unavailable
Because of the way in which your application is structured, the use of req.path
will always return /
. Are there ways in which this can be overcome?
Great job btw ๐
Integrating the database
That's a very interesting structure, but I'm actually wondering how could a model be used alongside a module like Sequelize as in passing the actual Sequelize database instance to the model.
Any ideas?
app.use(require('./controllers')) doesn't work
Hi,
i decided to learn node/express JS. And i want to begin with a good start, a good structure directly. And yours seems really fine.
I'm trying to adapt mine to yours, but i've few questions.
When I put this line "app.use(require('./controllers'))", the console said me "controller module doesn't exist" !
How does it work this middleware ?
if i understand, when you write this line, you "include" all controller file, right ?
Until now, i learned that all modules have to localize to node_modules folder. So, i suppose that the middleware tried to find controller.js in this folder.
Can you enlighten me ?
Thanks to share your knowledge,
Appreciate.
JL, from Belgium.
Where is the best place for front-end src?
If /public
folder consist built styles, js, bundels and other webpacked, gulped files, then where should I place src like less|sass|js ect.?
In some php frameworkes I saw something like ./Assets`` folder with all src, that supposed to be built to the
./public`.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.