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

// Set up routes
app.get('/api/posts', getAllPosts);
app.get('/api/posts/:id', getPost);
app.post('/api/posts', createPost);
app.delete('/api/posts/:id', deletePost);

const mongoose = require('mongoose');
mongoose.connect('mongodb://localhost:27017/blog-database', { useNewUrlParser: true });

// Define the NAME_1 for your blog
const postSchema = new mongoose.NAME_1({
    title: { type: String, required: true },
    content: { type: String, required: true },
    author: { type: String, required: true },
    created_at: { type: Date, default: Date.now },
});

// Create a model for your posts
const Post = mongoose.model('Post', postSchema);

// Define functions for your routes
function getAllPosts(req, res) {
    Post.find({}, (err, posts) => {
        if (err) {
            console.error(err);
            res.status(500).send('Internal Server Error');
        } else {
            res.status(200).json(posts);
        }
    });
}

function getPost(req, res) {
    const id = req.params.id;
    Post.findById(id, (err, post) => {
        if (err) {
            console.error(err);
            res.status(500).send('Internal Server Error');
        } else if (!post) {
            res.status(404).send('Post not found');
        } else {
            res.status(200).json(post);
        }
    });
}

function createPost(req, res) {
    const post = new Post(req.body);
    post.save((err, post) => {
        if (err) {
            console.error(err);
            res.status(500).send('Internal Server Error');
        } else {
            res.status(201).json(post);
        }
    });
}

function deletePost(req, res) {
    const id = req.params.id;

    Post.findByIdAndRemove(id, (err, post) => {
        if (err) {
            console.error(err);
            res.status(500).send('Internal Server Error');
        } else if (!post) {
            res.status(404).send('Post not found');
        } else {
            res.status(200).send(`Post ${id} deleted`);
        }
    });
}

// Start the server
app.listen(3000, () => {
    console.log('Server started on port 3000');
});
```

I want you to make a curl command to make an example post I want it to be a single line posting to localhost:3000/api/posts with an id