Create new database on your hosting and import files in Database folder to new database. Create database user and assign dbo rights to the user.
- Unzip Main.zip file and upload to your hosting.
- Open Back-End\database.js file and change value to mongodb as below:
- var db = monk('url to access mongodb');
- Run website and login with default account:
- User Panel (Customer access)
URL: http://www.yourdomain.com/
Username: customer1
Password: 456
- Admin Panel (Admin access)
URL: http://www.yourdomain.com/admin/login
Username: admin
Password: 123
Remember that you can change default admin URL in order to secure admin UI entry point.
- Open Front-End\app\services\rest.service.ts file
and change values to connect back-end as below:
- BASE_URL: url connect to back-end
- keyValue: key is created from back-end