GithubHelp home page GithubHelp logo

bfuerea / imadev Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 238 KB

Checking my webDev knowledge in 2021. Adding automated tests in 2022 for fun

License: GNU General Public License v3.0

HTML 51.80% Haml 0.32% Sass 5.68% CSS 13.35% JavaScript 26.50% SCSS 2.21% Batchfile 0.14%
accessibility css css3 html javascript

imadev's Introduction

  • 👋 Hi, I’m @bfuerea
  • 👀 I’m interested in automating the world
  • 🌱 I’m currently learning JavaScript, Java, Kotlin, Vue.js, MongoDB, Data Science, Selenium, Playwright, Cypress.io, Cucumber, Blender, Data Testing & Automation, Nuxt3, React etc.
  • 💞️ I’m looking to collaborate on Digital Pathology and Statistics, also on anything related to Fullstack Development using MongoDB, FASTAPI, Nuxt3 or React.
  • 📫 How to reach me: [email protected]

imadev's People

Contributors

bfuerea avatar

Watchers

 avatar

imadev's Issues

Max field length validation

Username and any field, in general, should have a max length validation.
This will prevent a malicious user from flooding your database with humongous usernames which will cause an overflow/error when inserted into the database.

Username field doesn't accept a23456

Even though the username is allowed to have alphanumeric and underscore characters, provided the 1st character is a letter, the combination {any letter followed by five digits} does not fulfill the requirements.

image

CNP validation in incomplete

CNP validation is incomplete. The last number is a validation number and as such the current validation algorithm accepts any number.
Here's a good reference for how the validation should work

https://ro.wikipedia.org/wiki/Cod_numeric_personal_(Rom%C3%A2nia)

Validarea unui C.N.P. constă în calcularea componentei C și compararea acesteia cu valoarea primită a aceleiași componente. Dacă acestea sunt identice, înseamnă că C.N.P. verificat este valid.

Calcularea componentei C se face folosind constanta "279146358279", după cum urmează:

fiecare cifră din primele 12 cifre ale C.N.P. este înmulțită cu corespondentul său din constantă
rezultate sunt însumate și totalul se împarte la 11
dacă restul împărțirii este mai mic de 10, acela reprezintă valoarea componentei C
dacă restul împărțirii este 10, valoarea componentei C este 1

connect to db

Check mongoDB connection js file and try to connect

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.