import express from 'express' import dotenv from 'dotenv' import sqlite2mongo from './libs/sqlite2mongo.js' // Read the .env file dotenv.config() const Server = express() Server.get('/', (req, res) => res.status(200) .json( { status: "OK!", message: "The API is up and running! The current version is: 0.0.1" } ) ) sqlite2mongo() Server.listen(process.env.PORT, () => console.log("Server has started!"))