/TeamTuneBackend

Primary LanguageJavaScriptMIT LicenseMIT

seba-master-teamtune-backend application

seba-master-teamtune-frontend application can be found here using the main branch.

Prerequisites

In order to use the web application, a Spotify account is mandatory since you connect the app with your Spotify account.

Both for the backend and frontend application:

Just for the backend application:

Setup (before first run)

Go to your project root folder via command line

cd path/to/workspace/seba-master-teamtune-backend

Install node dependencies

npm install

Set up your database

  • Create a new directory where your database will be stored (it's a good idea to separate data and business logic - the data directory should be on a different place than your app)
  • Start the database server
mongod --dbpath "path/to/database"

Start the project

Development environment

npm run devstart

Production environment

npm start