- General info
- Technologies
- Use Case Diagram
- Architect Design Diagram
- Setup
- Databases Scripts - MSSQL
- Demo of Project
- Screen Capture of Project
- Project Status
- Contact
Live Link for the API https://aplaudoapi.azurewebsites.net/ This repository is a back-end API that is made to serve the front-end website https://aplaudo.herokuapp.com/app.html. It is a back-end which manages artists regiseration to perform different activites .
This project is created with:
-
C# , OOP , .NET MVC 5 , .NetFramework 4.6 , MSSQLSERVER for the DB
-
AZure for deployment .
-
MVC ( Models - Views - Controllers) have been used as a model for this project.
-
Data Modeling using database first approach entity framework .
-
Controllers are as follows
- Artists
- Api calls for artist ->
-
https://aplaudoapi.azurewebsites.net/api/artists/ POST
{"ArtistFirstName": "Rasha","ArtistLastName": "Ali", "ArtistNickName": "Rasha", "EmailAddress": "[email protected]", "Password": "123456", "Bio":"Here is my Bio","PhotoLink":"http://wwww.google.com/2","Spotify":"sot", "YouTube":"http://wwww.google.com/2","iTunes":"tunes","SoundCloud":"sound", "WebSite":"http://wwww.google.com/2", "LinkedIn":"http://wwww.google.com/linkedin","CountryName":"Belgium","StyleNames": [ { "StyleName":"Asian"}, {"StyleName": "African"} ], "InstrumentNames": [ { "InstrumentName":"accordion"},{ "InstrumentName": "bass"},{ "InstrumentName": "Piano"}] } *Success : Response http status code : 201 created -- Response body : "Your account is created successfully."Already registered Response http status code : 302 Found-- ""You have already created an account."* ```
-
https://aplaudoapi.azurewebsites.net/api/artists/userlogin POST
{ "EmailAddress": "[email protected]", "Password":"gbvfgt5#hhd"} *"Failed : 404 not found "Wrong user credentials."Success : 200 ok"* ```
-
https://aplaudoapi.azurewebsites.net/api/artists/changepassword PUT
{ "EmailAddress": "[email protected]", "Password":"gbvfgt5#hhd"} *"Failed : 404 not found "Wrong user credentials."Success : 200 ok"* ```
-
https://aplaudoapi.azurewebsites.net/api/artists/ PUT -- update an artist
```ruby {"ArtistFirstName": "Rasha","ArtistLastName": "Ali", "ArtistNickName": "Rasha", "EmailAddress": "[email protected]", "Password": "123456", "Bio":"Here is my Bio","PhotoLink":"http://wwww.google.com/2","Spotify":"sot", "YouTube":"http://wwww.google.com/2","iTunes":"tunes","SoundCloud":"sound", "WebSite":"http://wwww.google.com/2", "LinkedIn":"http://wwww.google.com/linkedin","CountryName":"Belgium","StyleNames": [ { "StyleName":"Asian"}, {"StyleName": "African"} ], "InstrumentNames": [ { "InstrumentName":"accordion"},{ "InstrumentName": "bass"},{ "InstrumentName": "Piano"}] } *Success : Response http status code : 201 created -- Response body : "Your account is created successfully."Already registered Response http status code : 302 Found-- ""You have already created an account."*
-
https://aplaudoapi.azurewebsites.net/api/artists/{artistid} DELETE
-
https://aplaudoapi.azurewebsites.net/api/[email protected] GET
- Api calls for artist ->
- Artists
-
Concerts - https://aplaudoapi.azurewebsites.net/api/concerts POST
```ruby { "ConcertId":14, "About":"This concert is really fun and different let' stry to update ", "ConcertTitle":"Title is really what matters","Style":"African","Date":"12/01/2010","ConcertLink":"http://wwww.google.com/44", "PictureLink":"http://wwww.google.com/442","ProgrammaLink":"http://wwww.google.com/44", "TeaserLink":"http://wwww.google.com/44", "CountryName":"Belgium","InstrumentationValue":"Solo","ArtistEmails": [{"EmailAddress": "[email protected]"}, {"EmailAddress": "[email protected]"}, {"EmailAddress": "[email protected]"}], "InstrumentNames":[{"InstrumentName":"accordion"},{"InstrumentName":"bass"},{"InstrumentName":"Piano"}]}Response:{ "About": "Concert about acting in the heart of brussels in the heart of Europe in chrismas an all over the world last check final","ConcertId": 16, "ConcertLink": "http://wwww.google.com/1"}201 Created http status code ```
-
https://aplaudoapi.azurewebsites.net/api/concerts PUT
```ruby { "ConcertId":14, "About":"This concert is really fun and different let' stry to update ", "ConcertTitle":"Title is really what matters","Style":"African","Date":"12/01/2010","ConcertLink":"http://wwww.google.com/44", "PictureLink":"http://wwww.google.com/442","ProgrammaLink":"http://wwww.google.com/44", "TeaserLink":"http://wwww.google.com/44", "CountryName":"Belgium","InstrumentationValue":"Solo","ArtistEmails": [{"EmailAddress": "[email protected]"}, {"EmailAddress": "[email protected]"}, {"EmailAddress": "[email protected]"}], "InstrumentNames":[{"InstrumentName":"accordion"},{"InstrumentName":"bass"},{"InstrumentName":"Piano"}]}Response:{ "About": "Concert about acting in the heart of brussels in the heart of Europe in chrismas an all over the world last check final","ConcertId": 16, "ConcertLink": "http://wwww.google.com/1"}201 Created http status code ```
-
https://aplaudoapi.azurewebsites.net/api/concerts?startindex{number}&size={number} GET- Pagination
-
Styles - https://aplaudoapi.azurewebsites.net/api/styles GET
-
Instruments - https://aplaudoapi.azurewebsites.net/api/instruments GET
-
Instrumentaions - https://aplaudoapi.azurewebsites.net/api/instrumentations GET
-
Countries - https://aplaudoapi.azurewebsites.net/api/Countries GET
-
Clone this repository and start using it with your visual-studio 2017 or higher editor. Download the db scripts and run it over a MSSQLSERVER editor with db name AplaudoDB.
Here you are the use case of the project for the two releases v1, V2 .
This is the sql scripts for the db
the front-end website https://aplaudo.herokuapp.com/app.html.
Project is finished the must have use cases .
- As an artists, I want to create a livestream concert event
- As a spectator, I want to watch a livestream concert
- As an artist, I want to create my artist profile.
- As an artist, I want to edit my artist profile.
- As a spectator, I can search for artists and concerts
Business Function done so far withing thr crud operation of Artis and concerts models
- Checking already registered emails
- Concerts collaborators must be system users and registered in the system .
- Hashing passwords usin Hash and salt technique in .Net frameworl.
- CORS Eenabling check .
To be done ..
Contact reposiroty contributors for more details.