Write APIs and database connections for a Node.js application without using Google, npm modules, or any project setup.