Skip to content

themohitbharti/Hive_backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIVE - Team Management App

Description

HIVE is a Node.js project built using Express and MongoDB. It serves as a platform for teams to collaborate, communicate, and manage their projects efficiently.

Features

  • User authentication and authorization
  • Create, join, and manage teams
  • Chat functionality for real-time communication
  • Integration with machine learning and text analysis features

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • Socket.IO
  • JWT (JSON Web Tokens) for authentication
  • Mongoose for MongoDB object modeling

Installation

  1. Clone the repository:
  git clone https://github.com/Group-task-brl/BRL-task4-backend.git
  1. Navigate to the project directory:
  cd BRL-task4-backend
  1. Install dependencies:
 npm install
  1. Set up environment variables by creating a .env file and adding the necessary variables. You'll need:
  • PORT: Port number on which the server will run.
  • MONGODB_URL: URL for your MongoDB database.
  • EMAIL: Email address for sending notifications.
  • PASSWORD: Password for the email account.
  • Other necessary environment variables (refer to the example in the README).
  1. Start the server:
npm start

Usage

  1. Register or login to the application.
  2. Create or join a team.
  3. Utilize the chat feature for real-time communication.
  4. Explore other functionalities such as machine learning data analysis and text processing.

Environment Variables

Make sure to set the required environment variables in your .env file. Here's an example of what your .env file might look like:

PORT=4000
MONGODB_URL='mongodb://127.0.0.1:27017/grouptaskdb'
EMAIL='[email protected]'
PASSWORD='your-email-password'
URL=http://localhost:4000
SECRET_KEY_JWT=your-secret-key-for-JWT
SECRET_KEY_SESSION=your-secret-key-for-session
TOKEN_HEADER_KEY=your-token-header-key
SECRET_KEY=your-secret-key
SITE_KEY=your-site-key
CLOUD_NAME=your-cloud-name
API_KEY=your-api-key
API_SECRET=your-api-secret

Make sure to replace the placeholder values with your actual environment variable values. This example provides a starting point for configuring your environment variables.


This section explains what environment variables are needed and provides an example `.env` file that users can reference when setting up their own environment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%