Skip to content

Small Cross-platform App wtitten in .NET MAUI Hybrid (MVVM + OData + OpenAI)

Notifications You must be signed in to change notification settings

MVasili34/maui-star-news

Repository files navigation

App - "Star News" (MAUI + MVVM + OData + OpenAI)


Application for publishing and reading news.

The application features a comprehensive role-based system. It includes three primary roles: Common User, Writer, and Administrator. Each role is equipped with a unique set of rights and capabilities. Given the presence of a role system, the application also incorporates an authorization system on the server-side. Upon signing in, the application preserves the user's context (API Json Web Token), which refreshes every three hours upon reentry.

You can find screenshots of the application below along with instructions on how to start up the project.

Note

App wasn't localized into English, screens with localized English UI - only for preview

Application architecture

image

Some screenshots

image

Local deployment

Important

Before start up App be sured that this list of software is installed and running

Preparations

Run backend services

  • Firstly, build API docker image from the solution folder:
 docker build -f API/ArticleODataAPI/Dockerfile . -t odataapi
  • Secondly, create docker-compose from the folder containing API project:
 docker-compose up

API will be running on http://localhost:8080.

Warning

The application has been initialy configured to work in the local network with opened ports and that's why in Android manifest file IP address is not 10.0.2.2. Please, change its value to 10.0.2.2 if you want to run this app on emulated device and also don't forget to change this settings in configuration file of .NET MAUI App.

Note

Please note, that some app functions like Imgur API or OpenAI may required your personal service key. You can change Imgur API Key in configuration file of .NET MAUI App.

Extra Content

You can read full article about this project and understand why some controversial decisions were made.

About

Small Cross-platform App wtitten in .NET MAUI Hybrid (MVVM + OData + OpenAI)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published