You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
310 B
JavaScript

const router = module.exports = require('express-promise-router')()
const parseJSON = require('body-parser').json()
const db = require('../db')
// TODO: Actually implement cart!
router.get('/', async (req, res)=>{
res.json(null);
})
router.post('/add', parseJSON, async (req, res) => {
res.json(null)
})