/MIT_API

📣 Academic project to provide C/C++/ASM Compiler in NodeJS 🦊

Primary LanguageJavaScriptMIT LicenseMIT

🚀 Mons Institute of technology - API 🖥️

Licence Version Donate


Version
Academic project to provide C/C++/ASM Compiler in NodeJS


BackEnd

Requirements

  • Software

    ✔ NodeJS >= 12.20.0


  • Hardware (Minimal)

    ✔ OS : Linux (Centos7)
    ✔ RAM : 2 Gb
    ✔ CPU : 1 vCore
    ✔ SSD : 20 Gb

Dependencies

npm install body-parser cookier-parser dotenv errorhandler express express-handlebars helmet jsonwebtoken methode-override mysql pino pino-http eslint nodemon pino-pretty prettier eslint-config-prettier --save

Database credentials

Make sure you change the variables needed for the PLC to work properly in the .env file.

Start Server

  • Development mode
npm run dev
  • Production mode
npm run start

FrontEnd

Start Client

dart main.dart

Credentials

Make sure you change the variables needed for the client to work properly in src/config/credentials.yml.

credentials:
 nom: 'LastName'
 prenom: 'FirstName'
 email: "Email"

How to compile

To compile the file, place it in the compilation folder and add it to the credentials.yml file.

PathToCompile:
  path: 'Path_To_File_'
  # Example
  #D:\compiler\main.asm