GithubHelp home page GithubHelp logo

moviesapi's Introduction

Movies App Web API

  • RESTful API for user & products management.
  • CRUD oprations.

Table of Contents

Features:

  • SQL Database with Entity Framework.
  • Data is seeded on installation.
  • Usage of AutoMapper & DTO's.
  • JWT Authentication & Identity Core.
  • Authorization: 3 user roles - ["Visitor", "User", "Admin"].

API Access

User Password Access Access & Abilities
[email protected] Aa123456! Administrator Full access to any page in the app and observe any user details.
Adding Movies & Actors.
Add/Delete movies,actors,genres,movie theaters and user's accounts. Can Change the permission levels of all users.
The only one who can see the buttons for adding and deleting products.
[email protected] Aa123456! User Access to the main and filter pages in the app.

Installation

To install the MoviesAPI, follow these steps:

  • Clone the repository to your local machine.
  • Open the solution file MoviesAPI.sln in Visual Studio.
  • Build the solution to restore NuGet packages and compile the project.
  • Create a new Microsoft SQL Server database to store the application data.
  • Open the file appsettings.json located in the MoviesAPI project folder and modify the following connection string with your own Microsoft SQL Server database connection string:
"ConnectionStrings": {
  "ConnectionString": "Server=<your-server-name>;Database=MoviesAPI;Trusted_Connection = True;TrustServerCertificate= True;"
}
  • Open the file appsettings.json > appsettings.Development.json located in the MoviesAPI project folder and set the following key:
"keyjwt": "ALKSMDLK5M43LK5M34LK5M34DLSKMFLK45M4LKMLKM3LK4M3LKM3LKMLKSDFM"
  • Open the Package Manager Console in Visual Studio and run the following command to create the database schema:
update-database
  • Run the project in Visual Studio, The API server should now be running on your local machine & you should see Swagger Api Documentation.
  • User Registration: - User must register himself by filling Email and Password.
  • User Login: After registration user will enter Email and password for logging in order to get access to the system.
  • Admininstrator can edit/delete all users details.

moviesapi's People

Contributors

giogks avatar

Watchers

 avatar

Forkers

yairavital

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.