Skip to content

Commit

Permalink
BackendApi
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit8450 committed Jun 20, 2023
1 parent c2980cf commit ed7e2d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ const express = require('express');

const router = express.Router();


router.get('/', (req, res) => {

return res.json({ "Welcome": ` to my Backend Software for the Items ` });

});
router.use("/api", require('./items'));

module.exports = router;

0 comments on commit ed7e2d3

Please sign in to comment.