Skip to main content

Mwongera Evans Software Engineer & Tech Enthusiast

> Building Secure applications. Software engineering and deployment skills for developers, students, and researchers.

Recent Posts

Deploying node applications and maintaining uptime

Developing a web application is one thing, but putting it into production is another. For every web platform, there are tips and tricks that increase stability and maximize performance, and Node is no different.

Accepting user input from forms

Web applications commonly gather user input through form submissions. Node doesn’t handle the workload (like validation or file uploads) for you—Node just provides you with the body data. Although this may seem inconvenient, it leaves opinions to third-party frameworks in order to provide a simple and efficient low-level API.

Building a RESTful web service

Suppose you want to create a to-do list web service with Node, involving thhe typical create, read, update and delete(CRUD) actions. These actions can be implemented in many ways, but in this article we'll focus on creating a RESTful web service

Securing your application with HTTPS

A frequent requirement for e-commerce sites, and sites dealing with sensitive data, is to keep traffic to and from the server private. Standard HTTP sessions involve the client and server exchanging information using unencrypted text. This makes HTTP traffic fairly trivial to eavesdrop on.

Serving static files

Many web applications share similar, if not identical, needs, and serving static files (CSS, JavaScript, images) is certainly one of these. Although writing a robust and efficient static file server is nontrivial, and robust implementations already exist within Node’s community, implementing your own static file server in this section will illustrate Node’s low-level filesystem API.