https://github.com/ductinhkzz/vti-2405-ecommerce
https://github.com/ductinhkzz/vti-2405-ecommerce
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ductinhkzz/vti-2405-ecommerce
- Owner: ductinhkzz
- Created: 2024-06-25T11:13:47.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T14:41:53.000Z (9 months ago)
- Last Synced: 2024-08-14T16:18:40.113Z (9 months ago)
- Language: TypeScript
- Size: 72.8 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Info
- This is monorepo
- duxian-store-front: Ecommerce Frontend with React
- duxian-store: Backend
- store-next-example: Frontend with NextJs# Run each packages
## duxiana-store
- Create .env
- Copy/pass and change environment variable in .env.template
- Run source code```(bash)
npm i
npm run seed
npm run dev
```Note: "npm run seed" just run 1 time when setup this repo. The next time, just run "npm run dev"
## duxian-store-front
- Create .env
- Copy/pass and change environment variable in .env.template
- Run source code```(bash)
npm i
npm run dev
```-If you want change port to run in dev environment, Change port field in duxian-store-front/vite.config.ts
## Run monorrepo
- at root folder run this command:
```(bash)
npm run start:dev
```
Or
```(bash)
npm run start:dev
```## Restore example data
- copy folder data/uploads to packages/duxiana-store
- Restore file data/database.sql to your database## Admin account with database restore:
- username: [email protected]
- password: Leductinhkx97