Giter Club home page Giter Club logo

engelsburg-api's People

Contributors

dariotrombello avatar dependabot[bot] avatar paexception avatar

Stargazers

 avatar

Watchers

 avatar

engelsburg-api's Issues

Rework users and permission

Substitute scope has to be requested especially.

  • User just has few entries: uuid and email
  • Other tables to get passwords or oauth login
  • Foreign keys as primary key?

Likes of articles

Description of the requested feature
Let users like articles

Approach
An extra Repository with article as foreign key and UserId entries

Error notifications

Feature type

  • Enhancement of existing feature
  • New Feature

Description of the requested feature
Send an Email or notification if an unexpected error occurs

Refresh tokens

Feature type

  • Enhancement of existing feature
  • New Feature

Description of the requested feature
Split the single JWT into an access token and a refresh token. The access token has a short expiration time of a few minutes whereas the refresh token has a lifespan of 1 month or longer. After login the client gets a refresh token and an access token. The access token is then passed in the authorization header for every request to protected routes. If the endpoint of a protected route reports that the access token has expired, the client should send a POST request to another endpoint with the refresh token as parameter. The client then gets a new access token AND refresh token pair as response which is then saved in the local storage.

Google OAuth

Feature type

  • Enhancement of existing feature
  • New Feature

Description of the requested feature
Implement the feature to sign in using a google account

Notification service

Feature type

  • Enhancement of existing feature
  • New Feature

Description of the requested feature
Add a notification service to send notifications via firebase cloud messagin

Email service

Feature type

  • Enhancement of existing feature
  • New Feature

Description of the requested feature
Create an email service to send verify and reset password emails

Code cleanup

  • Document code (javadoc) and add some comments
  • Check if all is working properly

Especially in services

Integration tests

Integration test on interceptors and argument resolvers by requesting some endpoints

Update endpoint docs

Feature type

  • Enhancement of existing feature
  • New Feature

Description of the requested feature
Update the endpoint documentation to the current api

Improve services using wordpress api

Description of the requested feature
Improve services using wordpress api by setting the refresh rate higher and check the json sent for changes via hashing

Approach
Create an interface like JsonFetchingService with standard implementable methods like establishing the connection and hash checking

Unit tests

Test controller actions which are called at endpoints

Feedback endpoint

Feature type

  • Enhancement of existing feature
  • New Feature

Description of the requested feature
Create an Endpoint for feedback

Check if article were updated

Possible implementation:

  • Hash of article saved along
  • Every intervall service checks if changend and fetches updated

Solar system

Feature type

  • Enhancement of existing feature
  • New Feature

Description of the requested feature
Data of the solar system

Studentnewspaper

Feature type

  • Enhancement of existing feature
  • New Feature

Description of the requested feature
Endpoint to upload and get the student newspaper

Configuration service

Description of the requested feature
Implement an configuration service to nicely change the configuration of the api in a file, not in a script with environment variables

[BUG] Can't login

Describe the bug
Can't login because on signUp the hashed password is done with a null value as password

Update HttpMethods

Update http methods (remove bodies of get methods) to send requests with app

  • auth login

  • article update

  • substitute

    • class
    • teacher
    • substiututeTeacher
  • task

  • timetable

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.