Giter Club home page Giter Club logo

aplaudoapi's Introduction

Aplaudo - API

Table of contents

General info

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 .

Technologies

This project is created with:

  • C# , OOP , .NET MVC 5 , .NetFramework 4.6 , MSSQLSERVER for the DB

  • AZure for deployment .

Project Structure

  • 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/ GET

        • 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

  • 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  ```
    

Setup

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.

Use Case Diagram

Here you are the use case of the project for the two releases v1, V2 . usecase

Databases Scripts - MSSQL

ER

This is the sql scripts for the db Aplaudo DB Scripts SQL -- Download from here

Screen Capture of Project

Screenshot

Architect Design Diagram

Architect-Design

Demo of Project

the front-end website https://aplaudo.herokuapp.com/app.html.

Project Status

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 ..

  • The rest of user stories in this file .Aplaudo User Stories
  • JWT authentication.

Contact

Contact reposiroty contributors for more details.

aplaudoapi's People

Contributors

rashaali84 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.