Express Cumulative project setup

Hi folks, I want to check if I am understanding the project guide correctly,
I create three files in the server folder. One for minions, one for meetings, one for ideas.
The code below is for minions. I find the instructions a bit vague and hard to understand a little.
Does my code look right at all?
I have tried to set up the routes in their own files.
Does this look correct. I have tried to use the methods in my callback function that were provided in the db.js file. I know I have mistakes I am just trying to understand if I am on the right track or if I am way off what they are telling me must be done.

const express = require('express');
const app = express();

app.get('/api/minions', (req, res, next ,id) => {
    const foundMinions = req.getAllFromDatabase('/api/minions');
});'/api/minions', (req, res, next) => {
    const addMinion = req.addToDatabase('/api/minions');
app.get('/api/minions/:minionId', (req, res, next) => {
    const foundMinionId = req.getFromDatabaseById('/api/minions');
app.put('/api/minions/:minionId', (req, res, next) => {
    const updateMinion = req.updateInstanceInDatabase('/api/minions');
app.delete('/api/minions/:minionId', (req, res, next) => {
    const deleteMinion = req.deleteFromDatabasebyId('/api/minions');