Skip to content

C5Team3/back-end

Repository files navigation

musicAPP status

Music APP BACKEND API!

Description

We know how important music tends to be in our lives, Rockker Music App, is a mobile frist platform, where you can listen to your favorite music, create playlists, group your favorite songs, search for your favorite artists and songs, among other features that you will be able to enjoy.

Backend Scope

  • Login Basic Authentication with JWT
  • Login Basic Authentication with JWT
  • SignUp Email Active Account
  • SignIn Email Recovery Password
  • ApiKeyScopes for (PUBLIC) Users and (ADMIN) Users
  • SignUp Basic
  • SignUp with Other Providers [FACEBOOK]
  • Tracks CRUD
  • Albums CRUD
  • Users Admin CRUD
  • Artists CRUD
  • Apikey CR Generator
  • Integration Test with Mocha
  • Swagger Docs for API Docs

Team - Rockker Music App

  • Fernando Cañas / Frontend -
  • Alfredo / Frontend -
  • Mario Silva / Frontend -
  • Sergio Hortua / Frontend -
  • Jose Meléndez / Data Science -
  • ** Michael Espinosa / Backend Dev** - @maes91
  • ** Carlos Guzmán / Backend Dev** - @caalguzman

General Documentation

Aplication Flow

Backend Architecture

Services

Installing Backend

  1. Download or clone the repository
  2. install in your local machine
  3. Config your .ENV File, use .ENV_EXAMPLE Example to Set Vars. You need a mongo db Instance, remote or local.
  4. Run First Setup for APP: This Script configure minimal Fixtures for App, all at the same time:
    • Seed Users: Create 50 Example Users + 1 Admin User.
    • seed Spotify: Artists, Albums, Tracks: This Scripts,
    • seedApiKeys: Create two Api Keys for SCOPES Control. [ADMIN] [PUBLIC]
  5. Run App.
git clone
npm install

▶️ Available Scripts

Running Production Mode

npm run start

Running Setup App (seedUsers, seedSpotify, seedApiKeys)

npm run setup

Running Setup only seedUsers)

npm run seedUsers

Running Setup only seedApiKeys)

npm run seedApiKeys

Running Setup only seedSpotify)

npm run seedSpotify

Running App

npm run start

Running Dev Mode - Enabling Debug Module for Windows Systems

npm run dev

Running Dev Mode - Enabling Debug Module for Osx Systems

npm run devOsx

Testing Integration Layer With Mocha

npm run test

Technologies

Backend

  • Spotify API.
  • Mongoose
  • Helmet
  • jws
  • Express
  • Mocha
  • Mongodb
  • Cache-control

Backend End Points

You can see Backend End Points https://rokker-music-app-test.herokuapp.com/.

Insominia Json for Import and test API

-Download Insomnia WorkSpace

Repositories

License

This project is released under the MIT License.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages