import express from "@sanmeet007/simple-express";
const app = express();
app.get("/", (req, res) => {
return res.send("Hello World");
});
app.listen(3000);
The Simple-Express's idealogy is to provide small, beginner friendly , robust tooling in HTTP servers, making it a great solution for single page applications, websites, hybrids, or public HTTP APIs. Can be used for :
Web Applications
: Simple-Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.APIs
: With a myriad of HTTP utility methods and middleware at your disposal, creating a robust API is quick and easy.Supports Node.js
: Express provides a thin layer of fundamental web application features, without obscuring Node.js features that you know and love.
- Beginner Friendly
- Simple and clean
- Preinstalled body parsers
- Preinstalled file extractor
- Clean implementation of middlewares
- Uses EJS for rendering views
busboy
: For extracting files from the requestejs
: For rendering different views