A KnowledgeBase demo project on Node
nodekb is able to have users login and authenticate. Users can then either browse submitted articles or add their own articles. Users can edit or delete only their own articles.
Node.js, Express.js, Pug, Passport, MongoDB, Mongoose, HTML, CSS, Javascript, jQuery, Ajax
- Node.js is a runtime that executes Javascript programming.
- Express.js is a modular web framework for Node that handles routing and accomodates middleware.
- Pug is a template engine for Node.js.
- Passport is authentication middleware for Node.
- MongoDB is a NoSQL database program.
- Mongoose is an Object Data Modeling (ODM) library for MongoDB and Node.
- HTML is a markup language for browsers.
- CSS is a styling language for HTML.
- Javascript is a programming language that is supported by browsers.
- jQuery is a JavaScript library used to simplify JavaScript.
- Ajax is used here to assist in implementing Delete for HTTP.
SSH into your server.
# sudo systemctl start mongod
# npm run start
> [email protected] start /root/nodekb
> node app
Server started on port 3000
Connected to MongoDB
You can now connect to the app with your browser.