GithubHelp home page GithubHelp logo

academicflow's Introduction

AcademicFlow

Academic management system, created as a university project in a team.

Features:

  • Authentication/authorization from scratch
  • Role system with many roles to one user relation
  • Admin/Professor/Student roles
  • Course and assignment system
  • Assignment submitting and grading
  • Management of all the data and relations

Sistēmas dokumentācija un citi prezentēšanas faili ir pieejami /resources mapē un šeit: https://universityoflatvia387-my.sharepoint.com/:f:/g/personal/af21043_edu_lu_lv/EkkDZQu9jglFtMWV4tmkKaEBtHEU5GqXnyw5VzPdyoB0RA?e=8DGxcS

Ja jums rodas jautājumi vai neskaidrības, lūdzu rakstiet uz [email protected].


How to run the application:

You can do migrations (database will be empty) OR restore database with .bak file in .../resources/AcademicFlow.bak

For database migration:

  • Open AcademicFlow/AcademicFlow.Migrations/ folder with cmd (could also be done directly in VisualStudio)
  • Run this command in cmd and close the window after success: dotnet ef database update
  • (optional) In case you can not to connect to your database, check ...\AcademicFlow\AcademicFlow\appsettings.json file. Look for "ConnectionStrings" -> "AcademicFlowConnectionString" string. Change value to "Server=localhost;Database=AcademicFLow;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True" record. Or change "Server" value in case your database connection is different. Check the same string in ...\AcademicFlow\AcademicFlow.Migrations\appsettings.json.
  • If everything is fine - press green arrow button on the top of the screen (in the middle of the toolbar) image

For database restore:

  • Open SQL Server Management Studio and connect to the target SQL Server instance.
  • Right-click on the Databases node, and select Restore Database.
  • Select Device and click the ellipses (...)
  • In the dialog Select backup devices, click Add, navigate to the database backup in the filesystem of the server, and select the backup. Click OK.
  • If needed, change the target location for the data and log files, in the Files pane. Note that it is best practice to place data and log files on different drives.
  • Click OK. This will initiate the database restore. After it completes, you will have the AcademicFlow database installed on your SQL Server instance.

The application shoud run successfully.

On login enter:

  • Username: admin
  • For Password enter: BadPassword01

Lietotāja izveidošana:

Sistēmā ir pievienota drošības pārbaude - nereģistrēti lietotāji nevar piekļūt sistēmai. Lai lietotājs būtu reģistrēts, tam arī jābūt kāda lome : administrators, students vai profesors. Vai arī visi kopā, bet jābūt vismaz viena. Tad secība lietotāja izveidošanai ir sekojoša:

  1. Administrators pievieno jaunu lietotāju un rediģē tam lomu.
  2. Pēc speciālas saites (var nokopēt, nospiežot kopēšanas pogu "Register Link" tabulā) lietotājs ievada jaunu lietotāja vārdu un paroli.
  3. Ja viss bija izdarīts pareizi - lietotājs tiek pāradresēts lietotāja profilā

image

image

academicflow's People

Contributors

sakuraaah avatar arinkadzu avatar c-coretex avatar amaculis avatar nastacyya avatar

Stargazers

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