Skip to content

Commit

Permalink
Added Express server setup
Browse files Browse the repository at this point in the history
  • Loading branch information
azizkhoso committed Oct 23, 2021
1 parent 63f1d5f commit e2b5e23
Show file tree
Hide file tree
Showing 4 changed files with 403 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/node_modules/
8 changes: 8 additions & 0 deletions Backend Development/CRUD Api/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// To run this nodejs app, install all dependencies by typing 'npm install' in root directory i.e. CRUD Api
const express = require('express'); // Express is a javascript library for nodejs. It is used for backend development.

const server = express(); // Creating express server

server.listen(/* port */ 3000, /* callback */ () => {
console.log('listening on port 3000... navigate to http://localhost:3000/');
});
374 changes: 374 additions & 0 deletions Backend Development/CRUD Api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e2b5e23

Please sign in to comment.