Skip to content

Commit

Permalink
project init
Browse files Browse the repository at this point in the history
  • Loading branch information
maaz1996 committed Feb 27, 2021
1 parent 7e1a4ef commit d455362
Show file tree
Hide file tree
Showing 8 changed files with 2,869 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const express=require("express");
const app= express();
const config= require ("./")
// app.use("/api/v1");

app.listen(config["port"],()=>{
console.log(`Server started on port :${config["port"]}`)
})
4 changes: 4 additions & 0 deletions config/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports={

"port":"5000"
}
Empty file added controller/authController.js
Empty file.
Empty file added model/authModel.js
Empty file.
Loading

0 comments on commit d455362

Please sign in to comment.