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 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
      cd client
    
  2. Install package-lock.json and library
      npm i
    
  3. Run client host
      npm run dev
      # or
      yarn dev
      # or
      pnpm dev
    

Second run the development server user:

  1. Navigation to api folder
    cd api
    
  2. Install package-lock.json and library
      npm i
    
  3. Connect to database MongoDB. Navigate to app.module.ts
      Add url database in this line MongooseModule.forRoot('YOUR_URL_DATABASE')
    
  4. Run server host
      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
      cd api_admin
    
  2. Create a Virtual Environment
      python -m venv .venv
    
  3. Activate the Virtual Environment
      .venv\Scripts\activate
    
  4. Run the server admin host ( Navigate to the root api_admin )
      python manage.py runserver 
    

Open http://localhost:5107 with your browser to see the result client.

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

Open 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:

    npm run test:watch

Author

πŸ‘€ --Jihto--


Top categories

Loading Svelte Themes