Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jihto/square-etail
- Owner: jihto
- Created: 2024-05-28T01:33:54.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T09:21:51.000Z (6 months ago)
- Last Synced: 2024-11-21T20:27:26.351Z (2 months ago)
- Topics: django, nestjs, reactjs, redux-thunk, socket-io, stripe-payments, tailwind, vgg16-model
- Language: TypeScript
- Homepage:
- Size: 40.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Welcome to readme Square etail project π
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)
---