soron93 / selekta-client

0 stars 0 forks source link

ISSUES

ISSUES - NO HELP NEEDED

Selekta


Description

This is an app that selects, organizes and streams music from the Spoyify API.

Must have User Stories

Backlog

Should have User Stories

Could Have

Wont Have


Client / Frontend

React Router Routes (React App)

Path Component Permissions Behavior
/ SplashPage public <Route> Home page
/signup SignupPage anon only <AnonRoute> Signup form, link to login, navigate to homepage after signup
/login LoginPage anon only <AnonRoute> Login form, link to signup, navigate to homepage after login
/logout n/a user only <PrivateRoute> Navigate to homepage after logout, expire session
/search/tracks SearchForm, SearchResults user only <PrivateRoute> Search a track be selekted
/search/artist SearchForm, SearchResults user only <PrivateRoute> Search an artist to be selekted
/search/games SearchForm, SearchResults user only <PrivateRoute> Search a game to be added
/add/:id TrackInfo user only <PrivateRoute> Add an element to the backlog
/profile Profile, user only <PrivateRoute> Displays profile information

Components

Services


Server / Backend

Models

User model

Track model


API Endpoints (backend routes)

HTTP Method URL Request Body Success status Error Status Description
GET /auth/profile Saved session 200 404 Check if selekta is logged in and return profile page
POST /auth/signup {name, email, password} 201 404 Checks if fields not empty (422) and user not exists (409), then create user with encrypted password, and store user in session
POST /auth/login {username, password} 200 401 Checks if fields not empty (422), if user exists (404), and if password matches (404), then stores user in session
POST /auth/logout (empty) 204 400 Logs out the selekta
POST /search/add {playlist, title, artist, id} 400 Add new track and add new playlist to selekta profile
GET /track/:id 201 400 Show specific track/artist/playlist
PUT /track/:id 200 400 edit track/playlist
DELETE /track/:id 201 400 delete element


Links

Trello/Kanban

Link to trello board

Link to whimsical

Git

The url to your repository and to your deployed project

[Client repository Link]()

[Server repository Link]()

[Deployed App Link]()

Slides

The url to your presentation slides

[Slides Link]()