Basic boilerplate added.
This commit is contained in:
parent
0cfd5aeb46
commit
d82bc75ea9
15
index.js
Normal file
15
index.js
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import express from 'express'
|
||||||
|
|
||||||
|
const Server = express()
|
||||||
|
|
||||||
|
Server.get('/', (req, res) =>
|
||||||
|
res.status(200)
|
||||||
|
.json(
|
||||||
|
{
|
||||||
|
status: "OK!",
|
||||||
|
message: "The API is up and running! The current version is: 0.0.1"
|
||||||
|
}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
Server.listen(12345, () => console.log("Server has started!"))
|
Loading…
Reference in New Issue
Block a user