Skip to content

Demo Database

aelassas edited this page Nov 10, 2022 · 21 revisions
  • Download bookcars-db.zip down to your machine.
  • Restore BookCars demo db by using the following command:
mongorestore --verbose --drop --gzip --host=127.0.0.1 --port=27017 --username=admin --password=$PASSWORD --authenticationDatabase=admin --nsInclude="bookcars.*" --archive=bookcars.gz

Don't forget to set $PASSWORD.

Unzip cdn.zip on your web server so that the files will be accessible through http://localhost/cdn/bookcars/

cdn/bookcars/ contains the following folders:

  • cdn/bookcars/users: This folder contains users avatars and suppliers images.
  • cdn/bookcars/cars: This folder contains cars images.
  • cdn/bookcars/temp: This folder contains temporay files.

Admin user: [email protected]
Password: B00kC4r5
Other users Password: B00kC4r5