Skip to content

ahari884/simple-node-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-node-boilerplate

A simple node boilerplate using express.js, mongodb with the help of mongoose, http-server, JWT (for authentication) and etc.

Getting Started

Before getting started with the project please follow the below steps.

Prerquisites

Before going to install and run the project, there are some things need to know. If you already knew, please go to next step.

Basics

Note : This is for very beginner. If you already knew node, please ignore this.

  • npm - Node package manager

  • node - If you don't have node installed, you can donwload here

  • express.js - Express.js

  • mongodb - MongoDb ( you can install mongod here )

Packages that really need to know before starting the project

Installation

Step 1 : Clone the directory withe the command

git clone https://github.com/ahari884/simple-node-boilerplate.git

and cd to simple-node-boilerplate

cd simple-node-boilerplate

Step 2 : install node modules needed

npm install

Note : Wait for few minutes to install the node modules, may few hours if your internet connection is slow 😜

Running app

Just run

node index.js

It will show the message that

App running at http://localhost:3000/

Test the app

Open browser and enter url : http://localhost:3000/ and then you should see :

{
    "messsage": "Server running at http://localhost:3000",
    "status": "up",
    "success": true
}

Ooops done with the runnig app ☺️

Let's go rock the node world 😁 😁 😁

About

A simple node boilerplate using express.js, mongodb with the help of mongoose, http-server, JWT (for authentication) and etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors