Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jihto/square-etail

The online fashion store using search image
https://github.com/jihto/square-etail

django nestjs reactjs redux-thunk socket-io stripe-payments tailwind vgg16-model

Last synced: 8 days ago
JSON representation

The online fashion store using search image

Awesome Lists containing this project

README

        

Welcome to readme Square etail project πŸ‘‹





downloads





This is a shop for fashion using search image project build base on


- Backend: Microservices architecture: Django, NestJS


- Frontend: ReactJS


- Database: SQLite and MongoDB


- Image Recognition: VGG16 model


## πŸ€ User interface
- Role user



- Role seller

## πŸš€ To Getting Started

Make sure you have [npx](https://www.npmjs.com/package/npx) installed (`npx` is shipped by default since npm `10.2.2`) and Python.
Just run the following command at the root of your project:

First, run the development client:

1. Navigation to Client folder
```bash
cd client
```
2. Install package-lock.json and library
```bash
npm i
```
3. Run client host
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

Second run the development server user:

1. Navigation to api folder
```bash
cd api
```
2. Install package-lock.json and library
```bash
npm i
```
3. Connect to database MongoDB. Navigate to app.module.ts
```bash
Add url database in this line MongooseModule.forRoot('YOUR_URL_DATABASE')
```
4. Run server host
```bash
npm run dev --watch
# or
yarn dev
# or if already install nest: npm install -g @nestjs/cli
nest start --watch
```

The final, run the development server seller:

1. Navigation to Server folder
```bash
cd api_admin
```
2. Create a Virtual Environment
```bash
python -m venv .venv
```
3. Activate the Virtual Environment
```bash
.venv\Scripts\activate
```
4. Run the server admin host ( Navigate to the root api_admin )
```bash
python manage.py runserver
```

Open [http://localhost:5107](http://localhost:5107) with your browser to see the result client.

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result server user.

Open [http://localhost:8000](http://localhost:8000) with your browser to see the result server seller.

## ⭐️ Run test

Run test on Server side with Jest.js has build with Nest.js Project:

```bash
npm run test:watch
```

## Author
πŸ‘€ **--Jihto--**

- Linked In: [@Huy PhΓΊc](https://www.linkedin.com/in/phuc-nguyen-9ba849266/)
- Github: [@Jihto](https://github.com/jihto)
---