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) })