DEV Community

loading...
Cover image for how to build express js code faster

how to build express js code faster

anggachelsea profile image Angga Lesmana ãƒŧ1 min read

Alright. let me share how to build expressjs code faster
oke for the first you should visit a expressjs.com

we can build a expressjs code use terminal with complieted
first you should visit a link express.js and click for Getting Started and choose a express generator install express generator on your terminal npx express-generator and after that you get it

create : myapp
create : myapp/package.json
create : myapp/app.js
create : myapp/public
create : myapp/public/javascripts
create : myapp/public/images
create : myapp/routes
create : myapp/routes/index.js
create : myapp/routes/users.js
create : myapp/public/stylesheets
create : myapp/public/stylesheets/style.css
create : myapp/views
create : myapp/views/index.pug
create : myapp/views/layout.pug
create : myapp/views/error.pug
create : myapp/bin
create : myapp/bin/www

and open on your tools editor

Discussion (0)

pic
Editor guide