Vortex is an e-commerce platform built by Codeville, combining a robust MedusaJS backend with a modern Next.js 15 storefront for a scalable and performant online shopping experience.
This repository is the root for the Vortex project and includes the following submodules:
- vortex-backend: MedusaJS-based e-commerce backend, handling product management, orders, payments, and more.
- vortex-frontend: Next.js 15 storefront, providing a fast and responsive user interface for customers.
Before setting up the project, ensure you have the following installed:
-
Clone the Repository with Submodules
git clone --recurse-submodules https://github.com/Codeville/Vortex.git cd Vortex -
Initialize Submodules (if not cloned with
--recurse-submodules)git submodule update --init --recursive
-
Set Up the Backend (vortex-backend)
cd vortex-backend yarn install- Configure environment variables (e.g.,
.env) for MedusaJS, including database and payment provider settings. - Run the MedusaJS server:
yarn start
- Configure environment variables (e.g.,
-
Set Up the Frontend (vortex-frontend)
cd vortex-frontend yarn install- Configure environment variables (e.g.,
.env.local) to point to the backend API. - Start the Next.js development server:
yarn dev
- Configure environment variables (e.g.,
-
Access the Application
- Backend:
http://localhost:9000(default MedusaJS port) - Storefront:
http://localhost:3000(default Next.js port)
- Backend:
Vortex/
├── vortex-backend/ # MedusaJS e-commerce backend
└── vortex-frontend/ # Next.js 15 storefront
We welcome contributions from the community! To contribute:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/your-feature). - Commit your changes (
git commit -m "Add your feature"). - Push to your branch (
git push origin feature/your-feature). - Open a pull request against the
mainbranch.
Please ensure your code follows our coding standards and includes relevant tests.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or support, reach out to the Codeville team at support@codeville.org or open an issue in this repository.
git submodule update --remote --merge
cd storefront
git add . git commit -m "feat: add product listing" git push
cd .. git add storefront git commit -m "Update storefront submodule" git push