Skip to content

Backed for website that goal is to help with learning to recognise paintings of famous authors from XX century.

Notifications You must be signed in to change notification settings

KanarekLife/WokLearner-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WokLearner-Backend

Created by KanarekLife @ 2020

How to setup (docker edition)?

  1. docker run -p 80:80 -e "DatabaseSettings:ConnectionString=<mongodb connection string>" -v <path to uploads folder>:/app/Uploads woklearner-backend

How to setup?

  1. Git pull https://github.com/KanarekLife/WokLearner-Backend
  2. Copy WokLearner.WebApp/sample-appsettings.json into WokLearner.WebApp/appsettings.json
  3. Modify appsettings.json file to your liking but remember that you have to provide connection string to MongoDB Database (I recommend using MongoDB Atlas)
  4. Start by entering dotnet run --urls "{here goes your ip}:{here goes your desired port}" inside WokLearner.WebApp folder.

(Recommend using screen utility on linux)

How to update?

  1. Simply enter git pull origin master

How to transfer data to another server?

  1. Git pull https://github.com/KanarekLife/WokLearner-Backend on new server
  2. Transfer WokLearner.WebApp/appsettings.json and WokLearner.WebApp/Uploads/ from old to new server
  3. Run like usual!

How to integrate?

All commands are available to see on {ip}:{port}/swagger!

Swagger screen

Todo

[X] Authentication and authorization

[X] Paintings module connected with file upload

[X] Learning module with saving progress

[ ] Completed swagger documentation

[ ] Raking system for competing purposes

[X] Dockerfile

Project unfortunately was being created in a hurry so I didn't have time to design unit and integration tests. Please be careful while modifying!

About

Backed for website that goal is to help with learning to recognise paintings of famous authors from XX century.

Resources

Stars

Watchers

Forks

Packages

No packages published