- main = server.js
- /src/ = all requests
git clone https://github.com/FAST-SUSHI-NEXTECH/API.git
const pool = mariadb.createPool({
host: 'your_ip',
port: db_port,
user: 'user_db_name',
password: 'your_password',
database: 'db_name',
});
npm install
docker build -t api_fast_image:1.0 .
docker run -p 3000:3000 -d --name api_container api_fast_image:1.0
Author : StopThatTalace