Skip to content

ReSTfull web API with front-end in angular and back-end in node.js with mongodb database

Notifications You must be signed in to change notification settings

rjagait/Musique-Music-Web-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Musique Music Web Application

Music review site where users can submit reviews of musical performances, like IMDb. ReSTfull web API with front-end framework in angular and back-end implementation in node.js, and an authentication protocol providing different levels of functionality to authenticated vs. unauthenticated users.

Architecture

drawing

The architecture of the application is shown above.

  • Web Tier: The front end, which can accept inputs and display the processes output, provided to the user to interact with the application in a controlled environment.
  • Application Tier: Components in the Application Tier process the inputs received from the web tier in application tier by interacting with the components defined in the Database Tier.
  • Database Tier: Details of the user, reviews, playlist and ID3V1 were stored in a no-SQL database such as Local MongoDB. Files such as MP3, images and icons were stored/committed into the repository.

Database Tier

For the above model the database created had the below tables, listing the columns in the table. drawing

Application Tier:

Authentication:

On accessing the website user is directed to the Login Page, where the person can choose from either of the below, and each path is authenticated/verified using the corresponding method and routed to the respective page. The access to admin page is determined based on ‘isAdmin’ flag for that user in the User database. drawing

Controllers:

Each content access page has a different set of controllers. All the requests to the user and admin controllers are first authenticated for validity using the JWT authentication token. drawing

References

About

ReSTfull web API with front-end in angular and back-end in node.js with mongodb database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published