Ethermap collaborative map tool inspired by etherpad.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
375 B

import { Router } from 'express'
const router = Router()
// MAPS
import { getAllMaps } from '../controllers/maps.js'
import { getMapByName } from '../controllers/maps.js'
router.get('/maps', getAllMaps)
router.get('/map/:mapName', getMapByName)
// POINTS
import { createPoint } from '../controllers/points.js'
router.post('/point/add', createPoint)
export default router