Light license-key server in 1 file
Warning
Current major version is zero (v0.x.x
) to accommodate rapid development and fast iteration while getting early feedback from users. Please keep in mind that litecart is still under active development and therefore full backward compatibility is not guaranteed before reaching v1.0.0.
... coming soon ...
... coming soon ...
... coming soon ...
... coming soon ...
... coming soon ...
... coming soon ...
The backend is developed in Go language. The frontend (admin site and base site) operates on the Vue3 and TailwindCSS.
There are a number of scripts (in the ./scripts folder) that simplify development:
./scripts/golang
- Installs or updates a previously installed version of go (if needed).
./scripts/migration
- Helps to work with migrations. For instance, the ./scripts/migration dev up
command will apply new migrations from folder ./migrations, then implement the migrations from folder ./fixtures.
./scripts/sqlite
- Optimizes the existing database.
./scripts/gen
- Generate JWT or master-License keys.
./scripts/clear
- Removing hung golang or vite processes.
First run:
yarn --cwd ./web run build
- This is necessary in order to be able to compile and run a go app.cd ./cmd/ && go run main.go gen --config
- (if need) To save the configuration file with default parameters for further modificationcd ./cmd/ && go run main.go serve
- Launch the license serveryarn --cwd ./web run dev
- (if need) If you need to change the server for if you're going to modify the UI admin or manager panel, it will launch a dev environment with Vite.
Note
I recommend running the ./scripts/migration dev up
command. It will add test data to the database, which makes it easier to work with. For example, it will create products, transfer test images and create a test user for access to the admin panel on address http://0.0.0.0:8088/_/:
login - admin@mail.com
password - Pass123
If you want to say thank you and/or support the active development of lime
:
-
Add a GitHub Star to the project.
-
Tweet about the project on your Twitter
-
Write a review or tutorial on Medium, Dev.to or personal blog.
-
Support the project by donating a cup of coffee.
You can learn more about how you can contribute to this project in the contribution guide.