Skip to content

Latest commit

 

History

History

README.md

Messages App - Backend

The backend was built using Node.js and many other packages.

Stack

  • Node.js & Javascript
  • RESTFul APIs & Express.js
  • MongoDB database & Mongoose.js ODM
  • Real-time connection with Websocket & Socket.io
  • JWT authentication & Password-Hashing with bcrypt
  • File uploads with Multer

Quick Start

  1. Run npm i to install package dependencies.

  2. Run cp .env.sample .env to create the configuration file.

    NOTE: Please make the proper changes in ".env" file if needed.

  3. Run docker-compose up --build to set up a quick database. ** You can skip this step if you don't want to use Docker.

    IMPORTANT: Before running above command, make sure you have docker and docker-compose installed. * It runs the docker-compose.yml file.

  4. Run npm run start:dev for starting the server.