Skip to content

Vortex (By Codeville), The Ultimate E-Commerce Marketplace Application built with NextJS Storefront & Powerful Features from MedusaJS ECommerce Backend. Specified for Tech Gadget E-Commerce Marketplace

Notifications You must be signed in to change notification settings

codeville-org/vortex

Repository files navigation

Vortex

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.

Repository Structure

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.

Prerequisites

Before setting up the project, ensure you have the following installed:

Setup Instructions

  1. Clone the Repository with Submodules

    git clone --recurse-submodules https://github.com/Codeville/Vortex.git
    cd Vortex
  2. Initialize Submodules (if not cloned with --recurse-submodules)

    git submodule update --init --recursive
  3. 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
  4. 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
  5. Access the Application

    • Backend: http://localhost:9000 (default MedusaJS port)
    • Storefront: http://localhost:3000 (default Next.js port)

Project Structure

Vortex/
├── vortex-backend/    # MedusaJS e-commerce backend
└── vortex-frontend/   # Next.js 15 storefront

Contributing

We welcome contributions from the community! To contribute:

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m "Add your feature").
  4. Push to your branch (git push origin feature/your-feature).
  5. Open a pull request against the main branch.

Please ensure your code follows our coding standards and includes relevant tests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or support, reach out to the Codeville team at support@codeville.org or open an issue in this repository.


Best Practices

1. Always update submodules when starting work

git submodule update --remote --merge

2. Work in individual submodules

cd storefront

make changes

git add . git commit -m "feat: add product listing" git push

3. Update main repository to track changes

cd .. git add storefront git commit -m "Update storefront submodule" git push

About

Vortex (By Codeville), The Ultimate E-Commerce Marketplace Application built with NextJS Storefront & Powerful Features from MedusaJS ECommerce Backend. Specified for Tech Gadget E-Commerce Marketplace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published