Giter Club home page Giter Club logo

brainbash-backend's Introduction

BrainBash Backend

BrainBash is a web platform that provides a marketplace for experts across various domains to share online events and offer consultations. This repository contains the backend server that powers the BrainBash platform, built using Node.js, Express.js, MongoDB, and Mongoose.

Features

  • User Authentication: Secure registration, login, and profile management.
  • Event Management: Create, update, and manage online events.
  • Consultations: Facilitate expert-user communication and personalized consultations.
  • Requests: Handle user requests for events and consultations.
  • Data Security: Ensure secure data handling through best practices in server-side development.

Technologies

  • Node.js & Express.js: For building the server-side application and APIs.
  • MongoDB & Mongoose: To store and manage event and user data.
  • JWT: JSON Web Token for secure user authentication.

Getting Started

Prerequisites

Installation

  1. Clone the repository:
    git clone <URL-to-Backend-Repo>
  2. Navigate to the project directory:
    cd <Backend-Repo-Name>
  3. Install the dependencies:
    npm install
  4. Create a .env file in the root directory to configure environment variables. Here is an example:
    PORT=4000
    MONGO_URI=<Your MongoDB connection URI>
    JWT_SECRET=<Your secret for JWT>

Running the Application

  1. Start the server:
    npm start
  2. The server will run on the specified port (e.g., http://localhost:4000).

Testing

You can run tests (if available) using the following command:

npm test

Contributing

We welcome contributions to BrainBash! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push the branch to your fork.
  5. Submit a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

If you have any questions or need assistance, feel free to open an issue or contact us.

brainbash-backend's People

Contributors

kemalgokten avatar jinishakheni avatar felipecalderero avatar

Watchers

 avatar

brainbash-backend's Issues

Remodel Schemas add fields

  • Categories collection
  • Skills Collection
  • User should have skills id as array, then category id as array
  • Event should have skills id as array, then category id as array

image

Create routes for Events

  • GET events
  • GET events/:id
  • GET events/q?param:&...
  • POST events
  • PUT events/:id
  • DELETE events/:id

Create Routes for Requests

  • GET requests/:action/:userId (action being send/receive)
  • POST requests
  • PUT requests/:requestId
  • DELETE requests/:requestId

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.