Coder Social home page Coder Social logo

messaging-engine's Introduction

Messaging API built on NodeJs

Simple messaging API built on NodeJs runtime and comes with authentication feature, it's not a real-time system and it may have a lot of flaws, but it'll be continuously developed

Installation

Before making an installation, make sure you have the following requirements:

  • Node Js installed on your machine
  • NPM (Node Package Manager), basically it'll be installed automatically within the NodeJs
  • MySQl database
  • Git installed on your computer

To install the project, here is the step

  • Clone the project with command git clone https://github.com/achjailani/messaging-engine.git
  • Change directory, I assume the folder name is messaging-engine cd messaging-engine
  • Install required packages npm install, wait for till it done
  • Duplicate .env.example file and rename it to .env
  • Configure the database connection and other configuraions in .env file
  • Migrate the miration files to generate all required tables npx sequelize db:migrate
  • And here we go, now we can run it with command npm run happy5:dev for development and and npm run happy5:prod for production

API Documentation

API Documentation could be found here or yaml file here, this file was exported from Insomnia

Tools, Stacks and Packages

  • NodeJs as a Backend
  • ExpressJs is a NodeJs slim framework
  • MySql as a Databased Used
  • Json Web Token is a package for aunthentication
  • Dotenv as package used to load environment variables from .env file
  • Mysql2 is a mysql driver to MySql database
  • Sequelize is an ORM package (Object Relational Mapping) for NodeJs
  • validatorJs is package for validator
  • Cors is a package to handle Cors

Database Design

Database Design

Artchitecture Plan

Artchitecture Plan

messaging-engine's People

Contributors

achjailani avatar

Watchers

 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.