Skip to content

AronPelgrim/matching-application

Repository files navigation

Music Matching

forthebadge forthebadge forthebadge

Welcome to my repository! Here you can find my feauture, created for a matching application named music matching. The concept is that the user can add a list of his favorite songs to the profile of this matching application. The user is linked to a music genre, based on this list of songs. Because of this, the user can match with people who have the same taste in music. Ofcourse it's possible that the user's taste in music changes over time. Therefore, the user can change and update the list.

Knipsel Knipsel3 Knipsel2

Table of Contents

Installation guide

For this project, we're going to use NodeJS, NPM and MongoDB. Please follow the instructions below.

  1. Clone this repository to your machine.
$ git clone https://github.com/AronPelgrim/matching-application.git 
  1. Locate to the right directory.
$ cd matching-application
  1. Install the necessary packages.
$ npm install

MongoDB account

MongoDB provides a clear tutorial on how to connect your MongoDB to a Node js application.

Okay, let's now fill in your data in the .env file.

DB_CONNECTION=mongodb+srv:/Username:Password@ClusterName.h6oao.mongodb.net/CollectionName?retryWrites=true&w=majority

In the structure below, you can find the database visualisation.

Cluster: Cluster0  
Database: MusicMatch 
Collection: nummers 
Name Type
_id ObjectID
title String
artist String
genre String

Start server

With this command you can start the server.

$ npm start 

Let's check it out! the server runs on localhost:3000.

Any issues?

You can reach me on this email.

License

MIT

Releases

No releases published

Packages

No packages published