Skip to content

Instantly share code, notes, and snippets.

@soonsam123
Created December 6, 2020 17:30
Show Gist options
  • Save soonsam123/c483b978092e83c96a35400adcfcaf06 to your computer and use it in GitHub Desktop.
Save soonsam123/c483b978092e83c96a35400adcfcaf06 to your computer and use it in GitHub Desktop.
const express = require("express");
const app = express();
app.listen(8000);
app.get("/dojos", function (req, res) {
res.send({
id: 1,
name: "KARATÊ DOJO",
teacher: "JACKSON TANAKA",
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment