This sample API with express-generator
First, git clone https://github.com/Than890/express-generator-api.git cd express-generator npm install add .env for your connection npm run start:test
I recently use mysql for database This project has two connection like connection and connection2. connection for sample mysql query.connection2 for node-querybuilder.
I recommand connection2.
Reference from express-generator, node-querybuilder