Giter Club home page Giter Club logo

icthack2server's Introduction

Server-side for ICTHack #2

What is it?

What has already been implemented

What is going to be implemented soon

Project architecture

│   main.py
│   README.md
│   requirements.txt
│
├───components
│   │   config.py
│   │   core.py
│   │
│   ├───database
│   │   │   DatabaseWorker.py
│   │   │
│   │   └───data
│   │           blocked_users.json
│   │           comments.json
│   │           users.json
│   │           videos.json
│   │    
│   └───managers
│           CommentManager.py
│           UserManager.py
│           VideoManager.py
│
├───dto
│       Comment.py
│       User.py
│       Video.py
│    
├───lib
│       smsc_api.py
│
├───routes
│   ├───admin_panel
│   │       admin_requests.py
│   │       user_editing.py
│   │
│   └───app_requests
│           data_list.py
│           regular_requests.py
│       
└───tests
test_dbworker.py

List of possible requests (server API description)

App requests

Users

login

Request that is used to login user that is already been registered in system using phone or email as login and password.

Parameter Description
id ISU id.
password Password of logged-in user.

register

Registration of new user with selected parameters.

Parameter Description
id ISU id.
firstName First name of new user.
lastName First name of new user.
password Password of new user.
specialization Specialization of new user.
profileDescription Bio and other info about new user.
githubProfileLink Link to github of new user.
tgLink Link to telegram of new user.

list

Returns all the data about all users: [ // list of registered users data ] This request does not require any parameters.

Get by id

Returns all the data about users by id parameter.

Projects

Add

Parameter Description
name Name of new project.
description Description of new project.
githubProjectLink Link to the new project.
ownerId Id of owner of new project.
tags List of tags of new user.

Returns all the data about all users: [ // list of registered users data ]

This request does not require any parameters.

Link to the app repository

https://github.com/egor-baranov/ICTHack2App

icthack2server's People

Contributors

daza10samu avatar egor-baranov 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.