This is the official Mono repo for the Zivero Ecommerce Engine Zivero is an e-commerce project built using a monorepo structure, with a backend powered by Python, Django, and GraphQL API, and utilizing MongoDB and PostgreSQL as its databases. The frontend consists of a Vue3 app called "admin" and a Vue2 + Vuetify app called "store-front".
This mono repo uses Yarn as a package manager. and uses turborepo for monorepo mangement .
It includes the following packages/apps:
- Python 3.x
- Node.js and yarn v18.3.0
- MongoDB v6 and PostgreSQL
backend
: a Django appstore_front
: a Vue2 appadmin
: a Vue3 and vite appgraphql-client
: graphql sdl and documents to interact with the backendconfig
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)
- Clone the repository:
git clone https://github.com/aabidsofi19/zivero.git
- Install the Python dependencies:
poetry install
- Install the Node.js dependencies:
yarn install
from the workspace root - Create a
.env
file in the root directory and set the necessary environment variables for your database and other configurations. - Run the migrations:
poetry run python manage.py migrate
- Start the mongodb server with
mongod
- Start the development servers:
yarn dev
This turborepo has some additional tools already setup for you:
- ESLint for code linting
- Jest test runner for all things JavaScript
- Prettier for code formatting
- Pylint for python code linting
- black for python codel formating
- mypy fro static type checking
Username | Password | |
---|---|---|
customer | bestusername!!1 | [email protected] |
superuser | test123 | [email protected] |
This project is licensed under the GPL License - see the LICENSE file for details.