SkillAgentSearch skills...

HylibServer

backend server of Hylib made in NodeJS using Sequelize and MySQL. Join the community on Discord!

Install / Use

/learn @flaviobdev/HylibServer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Hylib Server

Backend created for HylibCMS in NodeJS

Requisites

How to install

Open you bash and use npm install or yarn install to install the packages

npm install

How to configure

  • config/default.json has all hotel settings
  • src/config/auth.json to generate the JWT type tokens
  • /.env put data from your database and other settings:
PORT=3333 //port on which the server will listen `localhost:PORT`

DB_HOST=localhost //server ip that finds your mysql
DB_PORT=3306 //mysql port
DB_USERNAME=root //mysql username
DB_PASSWORD= //mysql password
DB_NAME=lella_cms //name database

Set your default language in messages

config/default.json

"defaultLanguage": "en", //options: en,pt,es

Development

To make changes, launch it with developer mode to apply changes after saving.

npm run start:dev

You will need to create a reverse proxy using the web server you use for the port your backend server is running on. example: ip:3333 for api.hotel.com

Examples:

Production

After doing proxy, run this command for the server to start

npm run start

Developers

  • Laxus
View on GitHub
GitHub Stars6
CategoryData
Updated1y ago
Forks4

Languages

JavaScript

Security Score

60/100

Audited on Aug 10, 2024

No findings