Giter Club home page Giter Club logo

budget's People

Contributors

chanm003 avatar mcleanra avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

zergioz mcleanra

budget's Issues

Redirect flow after a user successfully logs in

User normally does not navigate directly to login screen. They either navigate to a protected route or they perform a secure action like click a "Delete" or a "Save" button that causes them to be redirected to login screen. After the user logs in, return the user to the page they were on

Would their state persist following a redirect? Example: User spends 30 minutes on an Edit Form. In that time, their JWT expires. When they click "Save", they get redirected to login screen. After they authenticate successfully, they should be redirected to the Edit Form with unsaved changes.

Investigate and/or provide sample for mongoose many-to-many

Intermediate collection with two "foreign keys"

const storeItemSchema = new Schema({
  storeId: { type: Schema.Types.ObjectId, ref: 'Store', required: true },
  itemId: { type: Schema.Types.ObjectId, ref: 'Item', required: true }
});

Upsert because insert is only allowed if combination of storeId and itemId is unique

await StoreItem.update(
    { storeId: store._id, itemId: toothpaste._id },
    { },
    { 'upsert': true }
  );

docker-compose up sometimes results in error

UnixHttpConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value.

Consider moving routes to /graphql

router.route('/signup_emailPassword')
    .post(UsersController.signup_emailPassword);

router.route('/signin_emailPassword')
    .post(passportSignIn, UsersController.generateToken);

router.route('/signin_cac')
    .get(passportCacCertificate, UsersController.generateToken)

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.