Code Monkey home page Code Monkey logo

decdocs_backend's Introduction

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 😁 😁 😁

decdocs_backend's People

Contributors

ahari884 avatar shiv-am117 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.