Iworb's blog

Full Stack (Node + Express + MongoDb + Vue + Nuxt) application. Part 7: Visual part

nuxt vuetify
In the frontend we should save our user in the store. Let’s make new one client/store/auth.js:12345678910111213141516171819202122export const stat ...
Read more

Full Stack (Node + Express + MongoDb + Vue + Nuxt) application. Part 6: Authentication

mongo passport
I highly recommend to use Postman to test your REST api, especially in this part.Let’s get started with authentication with installing passport.js ...
Read more

Full Stack (Node + Express + MongoDb + Vue + Nuxt) application. Part 5: Models and Routes. User

mongo
UserModelWhen you’re talking about user you may find plenty things of properties he could have.Let’s check out main ones: name - aka username; em ...
Read more

Full Stack (Node + Express + MongoDb + Vue + Nuxt) application. Part 4: MongoDb

mongo
ConnectionWe’re going to use mongoose to communicate with our MongoDb instance. Make sure MongoDb running and configured.For storing sessions in t ...
Read more

Full Stack (Node + Express + MongoDb + Vue + Nuxt) application. Part 3: Logging, initialization splitting and more helpers

express log
LoggingConsole logging is good, but it doesn’t cover all needs. Server could turn off instantly and you won’t see any messages, or there’s plenty ...
Read more

Full Stack (Node + Express + MongoDb + Vue + Nuxt) application. Part 2: Helpers, Configs and Session

express
HelpersHelpers will land in server/helpers directory, so add an alias in package.json for it:1"@helpers": "./server/helpers" E ...
Read more

Full Stack (Node + Express + MongoDb + Vue + Nuxt) application. Part 2: Nuxt and Expres

nuxt express
Nuxt12yarn add nuxtyarn add stylus stylus-loader --dev Lets make client directory in our project. It will contain whole frontend code made with Nu ...
Read more

Full Stack (Node + Express + MongoDb + Vue + Nuxt) application. Part 0: Usefull stuff

eslint git
BeginTo start new project create new directory and run this commends to init node application and git:12yarn initgit init I will use yarn, but you ...
Read more