This is a NestJS Whitelabel API that provides the logic for companies to build their e-commerce. It's meant to be used along with Best Commerce Frontend, which will use a STORE_ID
to populate the website.
First of all, create a .env
file following the .env.example
, changing anything that may be necessary.
This project uses Docker, so make sure you have it installed.
docker compose up -d
In the api
terminal, run prisma migrate
and, optionally, seed
(to populate the database)
npm run prisma:migrate
# or
yarn prisma:migrate
npm run prisma:seed
# or
yarn prisma:seed
Now the project should be running in the port specified in .env