Code Monkey home page Code Monkey logo

lime's Introduction

light license-key server in 1 file

      CodeFactor      

🍋‍🟩  What is lime?

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.

🏆  Features

... coming soon ...

⬇️  Installation

... coming soon ...

⬇️  Updating

... coming soon ...

🚀  Getting started

... coming soon ...

📚  Commands

... coming soon ...

🏦  Adding payment systems

... coming soon ...

🧩  For developers

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:

  1. yarn --cwd ./web run build - This is necessary in order to be able to compile and run a go app.
  2. cd ./cmd/ && go run main.go gen --config - (if need) To save the configuration file with default parameters for further modification
  3. cd ./cmd/ && go run main.go serve - Launch the license server
  4. yarn --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 - [email protected]
password - Pass123

👍  Contribute

If you want to say thank you and/or support the active development of lime:

  1. Add a GitHub Star to the project.

  2. Tweet about the project on your Twitter

  3. Write a review or tutorial on Medium, Dev.to or personal blog.

  4. 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.

lime's People

Contributors

shurco avatar dependabot[bot] avatar github-actions[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.