Skip to content

Backend Beginner can refer this repository as it goes from displaying font , Static Files and Connecting to the dynamic database

License

Notifications You must be signed in to change notification settings

DSunilDev/DearBackend

Repository files navigation

Hello Everyone,

I have Specially created this for Backend Fuctionality to get known and keep a track of my learning progress ..

Backend is an interesting option of website building where a server generated the Frontend code for the visitors and Build more Dynamic sites like amazon.com..

response.statusCode-->Status of Web Server 200-Sucess 404-Not found 443,80-Deployment Purposes

response.end('')

''->Custom HTML code to be included..

request.url('/')-->Url requested by the user

http->BUILT IN PACKAGE FOR WEB SERVER

EXPRESS JS:

express()-->Imported as function

function(req,res,next) are the parameters

{No need to define The Status Code as Express takes care of it }

.get('/path',function() { Action to be performed... .send('Custom Code') })

.post()-->Handles the form connection

.use(express.static)

.sendFile

fs-->File System

path-->For Path creation

path.join(__dirname,'','end-file')

.listen(3000)->Port connection~

EJS:

.render();

//Check Notepad Ejs notes

404->Not found 500-->Error Occured..

401->User Authentication Error..

Code Refactoring:: Definitions in one place and rightly accessing the variables ..

Variable Scoping: Can Use Variable Shadowing of outer variable inside the Nested Code..

Here is a Project..

About

Backend Beginner can refer this repository as it goes from displaying font , Static Files and Connecting to the dynamic database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published