Something went wrong. Try again.
My #100DaysOfCode Challenge starting today! This repository is to dump most of the scrap/test project works done during the challenge.
Something went wrong. Try again.
12345678910111213141516171819require('dotenv').config()const express = require('express')const app = express()
const userRouter = require('./api/users/user.router')app.use(express.json());
// app.get('/api', (req, res) => {// res.json({// success: 1,// message: 'API is working:'// })// })
app.use("/api/users", userRouter)
app.listen(process.env.APP_PORT, () => { console.log('Server Started on PORT :', process.env.APP_PORT)})