Skip to content

Commit

Permalink
donee
Browse files Browse the repository at this point in the history
  • Loading branch information
gaiyaobed committed Oct 13, 2023
1 parent 3d019a9 commit bb5b740
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const express = require('express');
const bodyParser = require('body-parser');
const swaggerUi = require('swagger-ui-express');
const swaggerDocument = require('./../swagger.json'); // Load your Swagger JSON file
require('dotenv').config()

const app = express();
const PORT = 3000;

app.use(bodyParser.json());

Expand Down Expand Up @@ -39,9 +39,9 @@ app.delete('/items/:id', (req, res) => {
});

app.get('/', (req, res) => {
res.json({message: "Now conformtable"});
res.json({message: "HEELOO"});
});
const PORT = process.env.PORT

app.listen(PORT, () => {
console.log(`Server is running on port ${PORT}`);
});

0 comments on commit bb5b740

Please sign in to comment.