Giter VIP home page Giter VIP logo

beatstreet-backend's Introduction

Beatstreet Backend

This is the backend for the Beatstreet project. It is a RESTful API built with Node.js, Express, and MongoDB. It is used to manage users, their favorite music, their playlists. It also sends emails to users when they create an account, reset their password.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of Node.js and npm.
  • You have a Windows machine.

Installing Project

To install the project, follow these steps:

npm install

Using Project

To use the project, follow these steps:

Before runnning add the following environment variables to your .env file: NODE_ENV=development
JWT_SECRET=<your_jwt_secret> JWT_EXPIRES_IN=<jwt_expiration_in_days>d JWT_COOKIE_EXPIRES_IN=<jwt_cookie_expiration_in_days> DB=<your_mongodb_connection_string> GMAIL=<your_gmail_address> GMAIL_PWD=<your_gmail_password> PORT=3000

npm run dev

Contributing to Project

To contribute to Project, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

beatstreet-backend's People

Contributors

immdipu avatar

Watchers

 avatar

beatstreet-backend's Issues

Error Deploying the Backend

Hi
I am Unable to Deploy the Backend to Adaptable.io When i Deploy the code i get the Error "Container failed to deploy: The container failed to start and listen on the port defined by the PORT environment variable." Can U help me troubleshoot the Issue or shuld i deploy it on some other Website like Render.com or Herouka.app.
i will be waiting for your response.
And thanks for sharing the Backend repo with us.

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.