Git Product home page Git Product logo

snippet2's People

Contributors

dependabot[bot] avatar ehcaning avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

snippet2's Issues

Snippet delete is not working

You can see related error in console when trying to delete a snippet:

Uncaught ReferenceError: alertify is not defined
    at HTMLButtonElement.deleteSnippetHandler (index.js?v=2.2.0:556:2)
    at HTMLButtonElement.dispatch (jquery-3.5.1.min.js:2:43090)
    at v.handle (jquery-3.5.1.min.js:2:41074)

Cache Authentication Middleware

File: services/middlewares/index.js:9
In each request, there is a findUserByID method that takes unnecessary DB lookup. This can be cached.

How to get started

Hi!

This looks like a very interesting project, but I have so far not managed to get it started. I cloned the repo and tried to get it up and running using docker-compose up -d, which worked, but when I go to the web page I am unable to login/sign up. I'm suspecting that this is because the database is not correctly set up (looks like it by the look of the logs). There is no database service defined in the docker-compose file, I'm guessing the issue lies here. Is there any guide on how to get started that I have managed to miss?

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.