GithubHelp home page GithubHelp logo

rust-lang-ve / hilow Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 4.0 72 KB

"Hilow" is a microblogging social feed where users are able to share they thoughts on different topics

License: Other

Rust 99.07% Shell 0.32% Dockerfile 0.61%

hilow's People

Contributors

estebanborai avatar morenol avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hilow's Issues

API documentation with swagger

An OpenAPI definition should be generated by the app itself.

Sections to generate:

  • Service information
  • Session management
  • User management
  • Post management
  • Feed management

Feature | Implement password validator

Right now we allow any password in user creation.

fn validate_password(_: &str) -> bool {

We must implement a more safer validation for the password.

We can use a regex or use a configuration to define the number of lowercase letters, uppercase letters, numbers and punctuation symbols that the password must have.

Endpoint | Login

Implement the login endpoint which authenticates an user using either email or username. The backend must recognize which of the user's ids are provided and then authenticate the user in question.

When logging in, a JWT (JSON Web Token) must be issued and retrieved to the client, this JWT is used on every endpoint but the login endpoint (this endpoint) and the register endpoint (implemented on #12).

This issue depends on #11 and #12.

Infrastructure | Implement Database Connection Pool

Database connection pool. A Database connection pool must be implemented to handle connections to the PostgreSQL database available on the Docker configuration.

The environment variables defined for the Docker PostgreSQL instance must be used to connect to the database as well.

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.