Vendure is an open-source e-commerce framework built with TypeScript and GraphQL. In this tutorial, we'll go through the steps to get Vendure up and running on macOS.
Before we begin, make sure you have the following installed:
You can check if you have Node.js and npm installed by running the following commands in your terminal:
node -v
npm -v
The Vendure CLI is a command-line tool that helps you create and manage Vendure projects. To install it, run the following command in your terminal:
npm install -g @vendure/cli
To create a new Vendure project, run the following command in your terminal:
vendure init my-project
This will create a new directory called my-project
in your current directory and initialize a new Vendure project inside it.
To start the Vendure server, navigate to the my-project
directory and run the following command:
npm run start
This will compile your TypeScript code and start the server.
The Vendure Admin UI is a graphical interface for managing your Vendure store. To open it, go to http://localhost:3000/admin
in your browser.
Before you can log in to the Vendure Admin UI, you need to create an admin user. To do this, run the following command in your terminal:
vendure create-admin-user
Follow the prompts to enter your email address, password, and name.
In this tutorial, we've covered the basic steps to install Vendure on macOS. From here, you can start building your e-commerce store using the Vendure framework.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!