Created
December 6, 2020 17:30
-
-
Save soonsam123/c483b978092e83c96a35400adcfcaf06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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