Code Monkey home page Code Monkey logo

soundwave's Introduction

soundwave

Version: 1.1.0


Table of Content


Team Members


Overview

A back-end CRUD database application that allows the user to save a collection of songs to a database.


Getting Started

Begin by ensuring the following are in place:

  • Download application repo and execute the following command in terminal:
    • npm install
  • Create .env file with which includes the following:
    • SECRET='secret code here'
    • MONGODB_URI='database pointer here'
      that points to a local database or a deployed database (this application uses Mlabs on Heroku)

Basic application functionality:

CREATE

Create User
Type = POST
Route: /signup
Requires:

  • Unique username
  • Password
Ex:
{
  username: 'bill',
  password: 'password'
}

Create Song
Type = POST
Route: /addSong
Requires:

  • Token
  • Song Object:
Ex:
{
  Title: '',
  Artist: '', 
  Album: '',
  url: ''
}

READ

Type = GET
Route: /signin/signin
Requires:

  • Username and password
  • Returns a users song list

UPDATE

Type = PUT
Route: /update
Requires:

  • Token
  • SongID: required
  • Song Object (Note: only 1 key:value pair is required to update)
    Ex:
{ 
  _id: '',
  newTitle: '',
  newAlbum: '', 
  newArtist: '',
  newUrl: ''
}

DELETE

Type = DELETE
Route: /remove
Requires:

  • Token
  • SongID

User Stories

User

  • As a user, I want to Sign Up / Login in to my account securely
  • As a user, I want to be able to able to Add, Delete, or Update a song on my collection
  • As a user, I want my collection of songs to persist between each login

Developer

  • As a developer, I want to create an application that is easy to read and uses REST'ful architecture
  • As a developer, I want to create an application that allows the user to Sign Up / Login securely
  • As a developer, I want to create an application that allows the user to perform meaningful CRUD operations to manage their songs
  • As a developer, I want to create an application that allows the user to save content to a database

Deployed Application

https://soundwavecf.herokuapp.com/home.html

soundwave's People

Contributors

codyjgreen avatar dpillay03 avatar trevorjdobson avatar dknore avatar

Watchers

James Cloos avatar

Forkers

moondump

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.