Giter VIP home page Giter VIP logo

hokumed_net's Introduction

Hi there 👋

This is Toshiaki's repo!

  • I'm currently working on infectious disease modelling on COVID-19.
  • Interested in Python, Julia, R.

Useful public modules

Python

  • contextplt : Easily create matplotlib figures, with a context manager.
  • myforestplot : Create a forest plot for risks of categorical/continuous/binary variables.
  • many_pynb : Output various versions of python jupyter notebook from one notebook with different settings.
  • py_simple_report : For creating simple stratified plots. Produce elements of powerpoint style of reports.

My CV can be found here.

hokumed_net's People

Contributors

ajiponry avatar kkduun avatar toshiakiasakura avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ajiponry

hokumed_net's Issues

期 is not shown now.

期 is not shown now.
Change admin-user and profile file. The user should have user.class_year not user.class_year_id.

Find BCrypt encryption for NodeJS.

Because BCrypt style of encryption is already running.
So that our authentification system should use also same encryption system.
Before deciding authentification frame work, you should check up whether encryption really solved or not.

Database migration bugs.

Bugs are the following.

  • class_year for files should be included.
  • learn_term should be replaced with "pre" or "post" not "a" or "b".

font-face can not be applied to html.

In the home page, the font of the title can not be changed with font-family.
The cause of this problem can not be solved by myself.
Maybe SASS setting is not the cause. font-face? also can not be applied.

Since my computer does not have many fonts, I do not certainly say this problem exist universally.

Copy sqlite database data to new database.

Because the structures of database will change much, re-enter the database information to new information.
The candidates tools to achieve this will be sqlite3 for python.

File upload and download function.

If the file is given, upload and download function should be prepared.
The original hokuinet uses the direct access and token authorization,
however, if we correctly set the path to the file, we can give (user can fetch) the files without file token system. Access token is enough, i think.

オリジナルの北医ネットからの移行について

  • Q1. ドメインは元のものを再利用するのですか?
    Ans. いいえ,新しく取得することにします.旧versionへのリンクを貼って遷移出来るようにしたいからです.
  • Q2. DBは元のものを取り込むのですか?
    Ans. はい,取り込みます.データベースの構造を同じにしてしまえば,そのまんま流用することが出来ます.ちなみにDBはsqliteです.
  • Q3. gmailアカウントは新規のものを取得しますか?
    Ans. はい,取得します.ただ,gmailが適切かどうかは微妙です.複数人で共有出来るものが望ましいです. 

Edit profile function.

In profile page (/profile ), Editing own profile should be enabled.
react-hook-form will be a choice of way of implementation.

For first open the page, to do list.

  • header's (dev) should be omitted.
  • Write confirmation mail sending message when sign up was completed.
  • backend authentication functions should be refactoring.
  • activation_status item should be displayed in admin page and profile page.
  • class_year registration should be constrained with databse information.
  • signup function correctly works?
  • download can be correctly done?
  • File upload functions.
  • authentication error handle.
  • List use cases and validate its use.
  • decide migration steps. how? ask part of people to register again?
  • backend authentication validation.
  • Omit backend test routes.

How to change the devlopment mode and production environment.

As I edited clients services, I had to specify API_URL to access to backend.
However, when I deploy this code set, I should rewrite these parts.
Is there any way to change All the URL part? config setting or environmnet variables may be the solution.

Profile editing function.

If a user logs in, let user edit their profile information, especially password information.
Handle name and email should not be changed from this.

user verification via email should be implemented in backend.

Backend side of user verification system should be implemented .
The problem is that if user make mistakes, and re-register, then same handlename and email can not be accepted in the current system. Fix it.
Also, automatic deletion of activation status or something is what i want to more.
ActivationToken should have the expire date. And if expired it should be not accepted any more. How ?

Add expeired at to user entity.

Expeired date for accessToken is desired to be added.
Now, if record accessToken and user is not try to login, using that token to access to server can be achivable.

Input validation and input reset in signup page.

The following tasks are remained in signup page .

  • date validation. If date is not valid, return error.
  • error popup problem. The way of error popup is not good.
  • default option for date and 期, and its validation.
  • reenteredPassword validation. Check same password is inputted.
  • After successfuly sign up, back to login page.
  • test framwork. Add sample user from signup page and login. Then delete the user in the end.

オリジナルの北医ネットからの移行についての質問集!

  • Q1. ドメインは元のものを再利用するのですか?
    Ans. いいえ,新しく取得することにします.旧versionへのリンクを貼って遷移出来るようにしたいからです.
  • Q2. DBは元のものを取り込むのですか?
    Ans. はい,取り込みます.データベースの構造を同じにしてしまえば,そのまんま流用することが出来ます.ちなみにDBはsqliteです.
  • Q3. gmailアカウントは新規のものを取得しますか?
    Ans. はい,取得します.ただ,gmailが適切かどうかは微妙です.複数人で共有出来るものが望ましいです. 

Authentication implementation status.

After authentication system was implemented, it is troublesome process to develop each part.
Therefore I here write the progression status of authentication system.

  • Admin authentication for frontend. All admin page can not be accessed without admin true status.
  • Admin authentication for backend. Admin related controllers check admin status.
  • User authentication for frontend. study, profile, logout.
  • User authentication for frontend. navigation bar.
  • User authentication for backend.

User authentication system should be implemented after setting up class semester specific view and file uploading and downloading functions.

Sharing items for development of hokui_net_ver2

This issue contains the packages or tools information for developing hokui_net_ver2.
Note : This documentation will be moved to README.md content.

Web application

Frontend

Pacakge or Tool Version explanation
React Frontend Framework
create-react-app v4.0.1 Initial setting for react
React-Router-Dom Routing
Sass Styling. preprocessor for css
Firebase with Firebase UI or Auth0? Authentication

Backend

Pacakge or Tool Version explanation
yarn package manager
NodeJS v14.14.0 Environment
Express Framework
Express-route Routing
Typescript Language
TypeORM ORM, Object Relational Mapper
Sqlite database
Nginx For revese proxy to nodejs

Other tools

Tool name Explanation
Selenium(python) Testing Frame work
drawio For Entity Relationship Diagram
Figma For Screen Transition Diagram

Figma for hokui_net_ver2 can be viewed from
https://www.figma.com/file/ZqXn3uGx8qzqHhWiGZfZH4/hokui_net_2?node-id=0%3A1
If you want to edit this, please ask me. I will invite you.

Check nodejs version which can be run in Xserver.

Because of ambiguity of which version can Xserver can run,
check the version of nodejs which can be run in Xserver.

Also, try to use foreever package in order to daemonize the nodejs.
We can directly run the nodejs if daemonize the nodejs? or we have to set the port number settings or reverse proxy?

Email functions.

Email functions should be implemented.
We should implment email functions for the timings of signup and approval by admin.
Also we should take email address for this site. That may be [email protected].

Create ER diagram with drawio.

Create ER diagram with drawio.
Reference codes are in db directory of original hokui.net source code.
This db is written by ruby.

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.