ĐĂNG NHẬP
XEM THÊM ==> Hướng dẫn cài đặt chi tiết
Step 1: Install dependencies.
Install dependencies ở trong thư mục frontend và backend
npm install
Step 2: Set up Database.
Mở Apache và MySQL trên XAMPP
Tạo database có tên: shop
shop
Import file CSDL.sql trong folder backend\sql vào database.
CSDL.sql
backend\sql
Nếu đặt tên CSDL là tên khác, sửa lại tên CSDL trong file BackEnd\src\config\DBConnection.js:
BackEnd\src\config\DBConnection.js
host: 'localhost', user: 'root', database: <tên CSDL bạn đặt>,
Step 3: Tạo file .env
Tạo file .env và điền các thông tin tương tự file .env.example
(Cần đăng ký dịch vụ SMTP của gg để lấy thông tin SMTP nhé!)
network
FrontEnd\until\until.js
frontend
backend
npm start
Nguồn: Topcode.vn
CODE NỔI BẬT
Source code web bán hàng (NextJs, NodeJs)
Quản lý nhân sự( Nodejs + mogoose + reactjs + sendMail)
React Native app hỗ trợ luyện tập, ôn tập từ vựng tiếng anh
Source code web xem phim siêu đẹp
Code đồ án Website xem phim NodeJs + ReactJs (MERN) + database full chức năng đi kèm
CODE GẦN GIỐNG