initial commit

This commit is contained in:
equippedcoding-master
2025-09-17 09:37:06 -05:00
parent 86108ca47e
commit e2c98790b2
55389 changed files with 6206730 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
export const loadAllAssets = async (req, res) => {
const assets = [
{
type: 'image',
src: 'http://placehold.it/350x250/459ba8/fff/image2.jpg',
height: 350,
width: 250,
},
{
src: 'http://placehold.it/350x250/79c267/fff/image3.jpg',
height: 350,
width: 250,
},
{
src: 'http://placehold.it/350x250/79c267/fff/image3.jpg',
height: 350,
width: 250,
},
];
res.json(assets);
};

View File

@@ -0,0 +1,8 @@
import express from 'express';
import { loadAllAssets } from './assets.controller';
const assetRoute = express.Router();
assetRoute.get('/', loadAllAssets);
export default assetRoute;