Skip to content

Quickstart ​

This document will guide you through setting up your Litekart server in a few minutes.

Prerequisites ​

Node.js ​

Litekart supports Node versions 18+. You can check which version of Node you have by running the following command:

bash
node -v

You can install Node from the official website.


Set Up Development Environment ​

For an manual deployment of Litekart, you'll need to install tools by yourself such as

  • Redis
  • MongoDB.
  • Elasticsearch

Create a Litekart Server ​

TIP

It is recommended to use pnpm for the installation process as it's much faster than using NPM.

1. Install Litekart Backend API ​

bash
cd api
pnpm i
pnpm start

Starts on http://localhost:7000

2. Install Litekart Core ​

bash
cd core
pnpm i
pnpm start

Starts on http://localhost:7001

3. Install Litekart Admin ​

bash
cd admin
pnpm i
pnpm start

Starts on http://localhost:3001

4. Install Litekart Storefront ​

bash
cd www
pnpm i
pnpm start

Starts on http://localhost:3000

Test Your Server ​

After these three steps and in only a couple of minutes, you now have a complete commerce engine running locally. You can test it out by sending a request using a tool like Postman or through the command line:

bash
curl http://localhost:7000/api/products

Server Configurations ​

It's important to configure your Litekart server properly and learn how environment variables are loaded.

You can learn more about configuring your server and loading environment variables in the Configure your Server documentation.


See Also ​

  • Quick Start Quick Start to start using docker compose to quickly setup without manual work.
  • Check out the Features to learn more about Litekart.
  • Check out the Configurations to learn more about Litekart Configurations.