- Node.js v10.13.0 or above
- If you want to use MySQL, MariaDB, or Postgres as your data store, then you’ll need an instance available locally. However, if you are just testing out Vendure, we recommend using SQLite, which has no external requirements.
- For Windows users: make sure you have windows build tools installed
npm install --global --production windows-build-tools
- This step should be done with administrative rights, and is required because Vendure makes use of some dependencies which must be compiled upon installation.
Installation with @vendure/create
The recommended way to get started with Vendure is by using the @vendure/create tool. This is a command-line tool which will scaffold and configure your new Vendure project and install all dependiencies.
npx @vendure/create my-app
npm init @vendure my-app
yarn create @vendure my-app
For other installation options see the @vendure/create documentation.
“my-app” in the above command would be replaced by whatever you’d like to name your new project. Vendure Create will guide you through the setup. When done, you can run:
cd my-app yarn start # or npm run start
Assuming the default config settings, you can now access:
- The Vendure Admin GraphQL API: http://localhost:3000/admin-api
- The Vendure Shop GraphQL API: http://localhost:3000/shop-api
- The Vendure Admin UI: http://localhost:3000/admin
Log in with the superadmin credentials:
- username: superadmin
- password: superadmin