mirror of
https://github.com/sern-handler/automata
synced 2026-06-06 01:16:51 +00:00
16 lines
350 B
TypeScript
16 lines
350 B
TypeScript
import express from 'express';
|
|
import bodyParser from 'body-parser';
|
|
import 'dotenv/config';
|
|
|
|
const app = express()
|
|
app.use(bodyParser)
|
|
|
|
app.get('/', (req, res) => {
|
|
res.send('Hey! This is sern automata\'s Rest API/webhook server/control server!')
|
|
})
|
|
|
|
app.get('/wh/newRelease', (req, res) => {
|
|
|
|
})
|
|
|
|
app.listen(3000, () => console.log('Listening!')) |