Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
init server setup event mngr
import express from 'express';
import { config } from 'dotenv';
const app = express();
const port = process.env.PORT ?? 3000;
app.get('/api/v1', (req, res) => {
res.send('Welcome to the event management platform built on redis');
app.listen(port, () => {
console.log(`Server running on: http://localhost:${port}`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment