{"repo":"YoSoyVillaa/next-litebans","free":true,"listed":false,"github":"https://github.com/YoSoyVillaa/next-litebans","clone":"git clone https://github.com/YoSoyVillaa/next-litebans.git","description":"The Next generation of Litebans web UI","language":"TypeScript","stars":53,"topics":["litebans","litebansgui","litebans-web","minecraft","nextjs14","prisma","shadcn-ui","litebansweb","react"],"license":"MIT","category":"ui-components","readme_excerpt":"next-litebans A web interface for LiteBans, built on top of: 👾 Demo You can view a demo of the project here. P.D: All punishments in the demo are randomly added to the database with a list of random premium player names as punished players, and with a predefined list of reasons. 🚀 Deployment Prerequisites - Node.js v20.x or higher - Litebans working on MySQL, MariaDB or PostgreSQL Installation 1. Clone the repository with git clone https://github.com/YoSoyVillaa/next-litebans.git 2. Install the dependencies with npm install 3. Copy the .env.example file to .env and fill in the required fields. For help check this 4. If you are using PostgreSQL, check PostgresSQL Configuration 5. Config the website (configuration) 6. Run npm run setup:db:generate to generate the Prisma client 7. Run npm run build to build the project 8. Run npm run start to start the server Database URL You will need to set the DATABASE URL environment variable in the .env file. If you don't know the URL template, you can check the following examples for both MySQL and PostgreSQL: MySQL URL Configuration PostgreSQL URL Configuration PostgresSQL Configuration If you are using PostgreSQL, you need to delete all the models in the prisma/schema.prisma file and change the provider to postgresql , or replace the file content with: Update the URL in the .env file with the PostgreSQL connection string. Then, run npm run setup:db:pull to pull the database schema. 🛠️ Configuration You can configure any website option","default_branch":null,"files":null,"tree":[],"storefront":"/r/YoSoyVillaa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/YoSoyVillaa/next-litebans/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}