Skip to content

Build-Squad/influencer-marketplace

Repository files navigation

Influencer Marketplace

Description

A marketplace that aims to directly connect creators & influencers with businesses, brands and agencies. Influencers would be able to connect with their online profile and list services such as posts, reposts etc. Businesses will be able to explore and pick influencers based on their listed services, and, send offers for collaborations.

The marketplace is end-to-end, from listing to posting and payouts everything is taken care of by the marketplace in a decentralized and trustless way (using smart contracts to build a customized escrow mechanism).

The transactions will be carried out using cryptocurrencies.

Tech Stack

  • Next.js
  • MUI (Material UI)

The instructions for running the front-end are in the README.md file in the ui folder.

Front End can be found here:
cd src/ui

  • Django
  • Django Rest Framework
  • PostgreSQL

The instructions for running the back-end are in the README.md file in the api folder.

Back End can be found here:
cd src/api/marketplace

Prerequisites

Before you begin, ensure you have met the following requirements:

  1. Docker installed on your machine. Docker Desktop
  2. PostgreSQL installed on your machine. PostgreSQL
  3. Python installed on your machine. Python
  4. Node.js installed on your machine. Node.js

Setting up the project

  1. Clone the repository -
    git clone https://github.com/Build-Squad/influencer-marketplace

  2. Change into the project directory -
    cd influencer-marketplace

  3. Build the Docker image -
    docker compose up —build

  4. Create env file based on .env.example (both ui and api) -
    cp .env.example .env

  5. Fill in the environment variables in the .env file according to your local environment.

  6. To start the app -
    docker-compose up

  7. To stop the app -
    docker-compose down

All the commands:

git clone https://github.com/Build-Squad/influencer-marketplace

cd influencer-marketplace

docker compose up —build

cp .env.example .env

# Fill in the environment variables in the .env file according to your local environment.

docker-compose up

Accessing the project

The project will start at the following endpoint:

To access the admin panel,

  1. Head to the Docker terminal and run the following command -
    python manage.py createsuperuser

  2. Enter your desired username, email and password.

  3. Head to the admin panel and login with the credentials you just created.