A clone of the existing https://www.nhatot.com/ website
- HTML, CSS, SASS (SCSS), Javascript,
- React, Redux (Toolkit), Typescript
- MUI, Tanstack Query (React Query), React Hook Form, Yup
- Node.js (Express), MySQL, Sequelize
- JWT Authentication
- socket.io, MongoDB, Mongoose
- Docker, Compose
- Products CRUD
- Favorite List
- Fulltext Search
- Chat App
- Admin Dashboard
Replace NODEMAILER_PASS
in backend/env/.env.dev
with your own Gmail app password at https://myaccount.google.com/u/1/apppasswords
Notes
- The frontend container might need some minutes to finish starting the development server.
- Please patiently wait for all containers to go up without any errors!
Open new terminal tab:
chmod +x ./bin/dev-up-build.sh
./bin/dev-up-build.sh
npm install -g dotenv
dotenv -p ./.env.dev && docker compose -f ./docker-compose.dev.yml up --build
Open new terminal tab:
cd ./backend
npm start
Open new terminal tab:
chmod +x ./bin/seed-dev.sh
./bin/seed-dev.sh
cd ./backend
dotenv -p ../.env.dev && npm run seed-dev
Open new terminal tab:
cd ./frontend
npm start
Go to http://localhost:3000
- email: admin@admin.com
- password: admin_password