HUST8 APP

Hướng dẫn chạy code

Giải nén tất cả các file

Chạy backend:

Vào thư mục zalo_api_master và chạy câu lệnh: npm run start

Chạy frontend:

Thêm file .env

Nếu thiết bị sử dụng hệ điều hành IOS:

baseurl =http://127.0.0.1:8000/api/v1/
link = http://127.0.0.1:8000/files/avatar_2.png
link2 = http://127.0.0.1:8000/files/defaul_cover_image.jpg
host= http://127.0.0.1:8000/files/

Nếu thiết bị sử dụng hệ điều hành Android:

baseurl =http://10.0.2.2:8000/api/v1/
link = http://10.0.2.2:8000/files/avatar_2.png
link2 = http://10.0.2.2:8000/files/defaul_cover_image.jpg
host= http://10.0.2.2:8000/files/

Khởi động emulator

Chạy file main.dart