Demo
Click over here for the demo
Stack
- Vuejs (2) / Nuxt.js (ssr friendly)
- Tailwind
- Express.js
- Couchbase 7.0.0 (beta)
- Cypress for frontend testing
- Jest for backend testing
Folder structure
- api -> api folder
- api/seed.js -> seeding function
- frontend -> frontend folder
- demos -> screenshots and video for demo purpose
How to reproduce ?
cloning repo
$ git clone https://github.com/kayode-adechinan/knowledge-base-app
installing package for frontend
$ cd api
$ npm install
installing package for backend
$ cd frontend
$ npm install
set env config
- replace frontend/.env.sample by .env
- update vars accordingly to your config
- replace api/.env.sample by .env
- update vars accordingly to your config
installing couchbase 7.0.0 (beta) on ubuntu 20
download
Setting up cluster
How to setup cluster : click here
Database seeding
$ cd api
$ npm run test
Testing
$ cd frontend
$ npm run cypress:test
$ cd api
$ npm run test
Launch server
$ cd api
$ npm run dev
Launch frontend
$ cd frontend
$ npm run dev
Quel est le meilleur Framework Web VueJS, Angular et ReactJS ?
Response
Response
Screenshots

Backup / Restore commands
$ /opt/couchbase/bin/cbbackup http://localhost:8091 ~/backups -u couchbase -p couchbase -b faqdb
$ /opt/couchbase/bin/cbrestore ~/backups http://localhost:8091 -u couchbase -p couchbase -b faqdb -B faqdb