https://github.com/mahdadghasemian/octocommerce
Open Source E-Commerce
https://github.com/mahdadghasemian/octocommerce
Last synced: 3 months ago
JSON representation
Open Source E-Commerce
- Host: GitHub
- URL: https://github.com/mahdadghasemian/octocommerce
- Owner: MahdadGhasemian
- Created: 2025-04-23T09:27:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-04-23T12:54:11.000Z (5 months ago)
- Last Synced: 2025-04-23T14:00:17.278Z (5 months ago)
- Language: TypeScript
- Size: 4.43 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# octocommerce
## How to run localy
### Clone and Install dependencies
```bash
git clone git@github.com:MahdadGhasemian/octocommerce.git
cd ./octocommerce
chmod +x ./install-dependencies.sh
./install-dependencies.sh
```### Run Backend
```bash
docker-compose up # --build
```### Run Frontend (Admin Panel)
```bash
cd ./octocommerce/frontend/panel
pnpm run dev
```### Run Frontend (Store Websote)
```bash
cd ./octocommerce/frontend/website
pnpm run dev
```### Web UI Tools
- [Admin Panel](http://localhost:3000/)
- [Store](http://localhost:3001/)- [Auth Doc](http://localhost:4000/auth/docs#)
- [Bot Doc](http://localhost:4000/bot/docs#)
- [File Doc](http://localhost:4000/file/docs#)
- [Notification Doc](http://localhost:4000/notification/docs#)
- [Storage Doc](http://localhost:4000/storage/docs#)
- [Store Doc](http://localhost:4000/store/docs#)- [PgAdmin](http://localhost:8088/)
- [Rabbitmq UI](http://localhost:15678/)
- [Redis GUI](http://localhost:5548/)
- [Minio UI](http://localhost:9001/)## Infrastructure (lightweight for demo)
```bash
cd ./infrastructure_lightweight
ansible-playbook playbooks/check_connection.yml -i inventory.yml
ansible-playbook playbooks/setup.yml -i inventory.yml
```### Web UI
- [PgAdmin](https://pgadmin.octocommerce.ir/)
- [Rabbitmq UI](https://rabbitmq.octocommerce.ir/)
- [Redis GUI](https://redisinsight.octocommerce.ir/)
- [Minio UI](https://minio.octocommerce.ir/)### Generate .htpasswd file for redis inside login page
```bash
htpasswd -c ./roles/services/files/.htpasswd admin
```### Redis connection
- host: redis
- port: 6379
- username: leave it empty (default)
-