Architecture de base avec Quasar V2 (vue 3) et node js (express) en ES6
- NodeJS: v14.18.2 (yarn)
- QuasarJS: https://quasar.dev/start/quasar-cli
- nvm: https://github.com/nvm-sh/nvm#install--update-script
Database: (first terminal):
sudo mongod
Front: (second terminal):
nvm i 14
cd ./front
yarn && quasar dev
Back (third terminal):
nvm i 14
cd ./back
yarn && yarn w:dev
Front:
http://localhost:8080
Back:
http://localhost:8000
docker-compose up --build --remove-orphans
http://localhost
/auth/login user: user password: user$
info dans: ./back/src/config/script_db.js
docker rm $(docker ps -a -q)
Connect Robo3t for docker DB:
- Create Connexion
- Name: Choose Name / Address: localhost / Port: 27017
- Authentication: checked Perform autentication
- Database: admin / User Name: root / Password: 123456 / Auth mechanism: SCRAM-SHA1
- You can test the connexion at the bottom left
Enjoy'