Skip to content

Latest commit

Β 

History

75 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Visulax 2.0

Welcome to Visulax 2.0 - the ultimate platform for algorithm visualization, now with integrated user authentication!!πŸ”βœ¨

This is the updated version of the Visulax algorithm visualizer. Explore the previous version here.

_

What's New?

User Authentication API Integration:

  • Sign-Up and Sign-In functionalities.
  • Input Validation using Zod to ensure data integrity.
  • Password Hashing for enhanced security using bcrypt.

Enhanced Responsiveness

Visulax 2.0 is highly responsive, ensuring a seamless user experience across various devices.

Endpoints:

Sign-Up:

  • URL: /signUp

  • Method: POST

  • Body:

    {
        "name": "Your Name",
        "email": "your.email@example.com",
        "password": "YourPassword123"
    }
  • Response:

    • Success: { "msg": "Sign Up Successful" }
    • User Already Exists: { "msg": "User Already Exist" }
    • Validation Error: { "msg": "Password must contain at least one uppercase letter and one number" }
    Sign-Up Endpoint

Sign-In:

  • URL: /signIn

  • Method: POST

  • Body:

    {
        "email": "your.email@example.com",
        "password": "YourPassword123"
    }
  • Response:

    • Success: { "msg": "Signing in successfully" }
    • Wrong Password: { "msg": "Wrong password" }
    • User Not Found: { "msg": "User not found" }
    Sign-In Endpoint

Usage

  • Navigate through different algorithm visualizations using the links provided on the main page.
  • Click on "Login" to access the admin panel.
  • Explore different sorting, searching, tree, graph, sieve of Eratosthenes, and recursion algorithms.
  • Follow the instructions on each page to see how the algorithms work in real-time.

Project Structure

Visulax/        
β”œβ”€β”€ Authentication
β”‚   β”œβ”€β”€ app.js
β”‚   β”œβ”€β”€ connection
β”‚   β”‚   └── mongoose.js
β”œβ”€β”€ β”œβ”€β”€middlewares
β”‚   β”‚   β”œβ”€β”€ signIn.js          
β”‚   β”‚   └── signUp.js 
β”‚   β”œβ”€β”€ model.js
β”‚   β”œβ”€β”€ zod.js
β”œβ”€β”€ frontend
β”‚   β”œβ”€β”€ Container
β”‚   β”‚   β”œβ”€β”€ Components
β”‚   β”‚   β”‚   β”œβ”€β”€ Graph
β”‚   β”‚   β”‚   β”œβ”€β”€ Recursion
β”‚   β”‚   β”‚   β”œβ”€β”€ Searching
β”‚   β”‚   β”‚   β”œβ”€β”€ Sieve of Eratosthenes
β”‚   β”‚   β”‚   β”œβ”€β”€ Sorting
β”‚   β”‚   β”‚   β”œβ”€β”€ Tree
β”‚   β”‚   β”œβ”€β”€ Login
β”‚   β”‚   β”œβ”€β”€ Theme
β”‚   β”œβ”€β”€ images
β”‚   β”œβ”€β”€ index.css
β”‚   β”œβ”€β”€ index.html
β”‚   └── index.js
└── README.md

Contributing

If you'd like to contribute additional visualizations or features, please feel free to fork the repository and submit a pull request 😁😁.

About

The ultimate platform for algorithm visualization, now with integrated user authentication!!πŸ”βœ¨

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages