/xcs-translator

XCS-Translator is a conversion tools to help you upload an EXCEL file, it will then convert the uploaded file into CSV, JSON and also SQL. Enabling you to quickly upload EXCEL sheet into your database.

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

xcs-translator

Requirements

Node.js v10.22 or greater

Run in development mode

  • Run cp .env.example .env
  • Edit .env placeholder value
  • Edit sheetconfig.json file
  • Run npm run ci
  • Run npm run dev
  • Server is running in configured port (default to 8080)

Run in production mode

  • Run cp .env.example .env
  • Edit .env placeholder value
  • Edit sheetconfig.json file
  • Run npm run ci
  • Run npm start
  • Server is running in configured port (default to 8080)

Going to production practices

  • Set NODE_ENV=production in .env file
  • Use PM2 to manage Node.js process

Clear archive directory

  • Run npm run clear-archive