Files
automata/index.ts

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!'))