Giter Site home page Giter Site logo

newsportalapp's Introduction

NewsPortalApp

This is a news portal application with basic CRUD option, Authentication and Authorization, Unit-tests etc. It's backend soultion uses custom REST API for all requests using .NET Core (C#) and Entity framework Core for working with the database where I used DATABASE FIRST principle. It's front-end solution is done in Angular using some of the Bootstrap template parts.

Getting Started

SoftraySolution.bak file is for restoring the database directly in Microsoft SQL Server, it contains all data needed for this application to work. Be sure to do this so you can get Account credentials, since the app doesn't have Registration options yet.

Prerequisites

You will need:

Microsoft SQL Server Management Studio 2019 to run the scripts.

Visual Studio 2019 to run the application.

Vistual Studio Code if you want to use it as an editor, like I did.

Node.js command prompt

Running the app

Be sure to open node.js command prompt in administaton mode and navigate to the ClientApp folder of this application.

  • Execute this command:
npm start

This will make your build very fast also.

You have to do this only once when first starting the app, keep the node.js window on.

  • Run the app in Visual Studio 2019
Ctrl + F5

Now you can test the application on the UI side!

Note: If you want to test the application calls to api you can use Swagger by entering /swagger.html in the url of the app.

Overall functionalities

This application has two kinds of users. A public user and an Administrator user.

The public user has the possibility to read and to search for news without any kind of authentication or authorization.

The administrator user has the possibility to perform the same actions as the public user plus he should be able to add news, edit news and he should also has the possibility to view all news he added or edited in a tabular view where he can search for them.

newsportalapp's People

Contributors

anniemonk avatar

Watchers

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