Backend API created and deployed for the Muse App
Explore the deployed app »
Muse is an app that allows you to connect with people who have the same taste in music as you.
Frontend repo on github is found here »
User Model
{
username:{type:String, required:true},
password:{type:String, required:true},
}
Profile Model
{
owner: {
type: mongoose.Schema.Types.ObjectId,
ref: "User",
},
location: { type: String },
aboutMe: { type: String },
favGenres: [{ type: String }],
favAlbum: { type: String },
favArtist: { type: String },
favSongs: [
{
title: String,
uri: String,
artist: String,
albumUrl: String,
},
],
swipedRight: [{ type: String }],
swipedLeft: [{ type: String }],
}
Conversation Model
{
members: [{type: String}]
}
Message Model
{
conversationId:{
type:String,
},
sender:{
type:String,
},
text:{type:String},
}, {timestamps:true})
To get a local copy up and running follow these simple example steps.
-
Clone the repo
git clone https://github.com/MuseDevInc/muse-app
-
install modules
npm install
-
Create your
.envvariablesPORT=<> MONGODB_URI=<> SESSION_SECRET=<> REDIRECT_URI=<> SPOTIFY_CLIENT_ID=<> SPOTIFY_CLIENT_SECRET=<> -
Run npm start
// cd into the directory npm start
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Charmille Dizon
- Christian Staubo
- Jordan Walsh
- Kahlil Sassa