Giter Site home page Giter Site logo

saltynote / saltynote-service Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 4.77 MB

The RESTful API backend service for SaltyNote

Home Page: https://saltynote.com

License: MIT License

Shell 1.84% Java 98.16%
docker-compose jwt-authentication notifications email-notification spring-security springdoc-openapi swagger-ui github-actions jacoco java

saltynote-service's People

Contributors

codacy-badger avatar dependabot[bot] avatar fossabot avatar gaomc66 avatar lodye509 avatar snyk-bot avatar zhouhao avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

saltynote-service's Issues

Clean Cache when service starts

Since this project is still in dev, the schema change may make cache de/serialization fail, which will make the service not available until the cache expires.

Make the database primary key incremental

For now, the service use https://github.com/Devskiller/friendly-id for primary id generation.
While the generated id is not incremental, which means the latter generated id may have smaller lexicographical order.

The issue is that if a page has multiple notes, there are displayed based on the id order, not the timestamp.
I feel it is better to use a better id generate mechanism to make sure the latter generated one have increased order, e.g. snowflake

Make note comment optional

Now it will return 500 error when saving an annotation without comments.

We can make comment optional.

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.