Geralt-Of-Rivia-Witcher / Node-Mongo_APIs

Node + Mongo APIs to get, add, delete and update user database. Admin authentication is managed by JSON Web Tokens.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node + Mongo APIs

Node + Mongo APIs to get, add, delete and update user database. Admin authentication is managed by JSON Web Tokens.


Table of Contents
  1. About The Project
  2. Getting Started
  3. Documentation
  4. Usage
  5. Contact

About The Project

This is the backend code for a Node + Mongo backend with APIs to get, add, delete and update user database. Update, add and delete feature requires Admin authorisation which is managed by JSON Web Tokens.

Built With


Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • npm

Installation

  1. Clone the repo

  2. Install NPM packages

    npm install
  3. Ceate a .env file and enter following values in it

    PORT = 'ENTER YOUR PREFERRED POST HERE'
    MONGO_DB_URI = 'YOUR MONGO DB URI'
    TOKEN_KEY = 'A STRING FOR ENCODING JSON WEB TOEKNS'
  4. Start the server

    node index.js

    The server will listen on PORT 5000.

Documentation

The Documentation for the APIs can be found in ./apidoc/index.html

Usage

Feel free to use and modify it any way you want.

Contact

About

Node + Mongo APIs to get, add, delete and update user database. Admin authentication is managed by JSON Web Tokens.


Languages

Language:HTML 54.6%Language:JavaScript 29.7%Language:CSS 15.6%