Created
April 25, 2020 12:19
-
-
Save piyushgarg-dev/3940cd078dac3cda34869f9ad865cfa2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const express = require('express'); | |
| const mongoose = require('mongoose'); | |
| const app = express() | |
| app.get('/', (req, res) => { | |
| res.send('Welcome to my API'); | |
| }) | |
| app.listen(9000, () => console.log('Server Started at PORT 9000')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment