Giter VIP home page Giter VIP logo

neva's Introduction

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title> Neva: Welcome </title>
    <link rel="stylesheet" href="assets/css/material-bootstrap.css">
</head>
<body>

<div class="container">
    <div class="row">
        
        <div class="col-md-12 m-top-2">
            <h2>Technologies Used: </h2>
            <p>
                <ol>
                    <li> PHP CodeIgniter </li>
                    <li> <a href="https://github.com/chriskacerguis/codeigniter-restserver">CodeIgniter REST Server</a> </li>
                    <li> Bootstrap </li>
                    <li> jQuery for AJAX calls </li>
                    <li> MySQL </li>
                </ol>
            </p>
    
            <h2>Set up</h2>
            <p>
                Copy the directory to your webroot. Import SQL file. DB config file path: /api/application/config/database.php
            </p>

            <h3>Flow</h3>
            <p>
                
                As per the document, I have inserted 2 users. But you can register with new user to test from beginning.

                <ol>
                    <li>
                        Registration: If email id does not exists, account will be created. Then we need to log in to proceed. Form shows relavent server responses. Like user exists, account creations successfull.
                    </li>
                    <li>
                        Login: On correct auth credentials, page will be redirected to dashboard. Form will show relavent server response. Like login success, wrong username/password.
                    </li>
                    <li>
                        On successfull login, I am saving user id in localStorage for session management. So, on logout, we must not access dashboard.html
                    </li>
                    <li>
                        In Dashboard: Adding Friend: An account must exists to send a message. Relavent server response is privided. Ex: User does not exists, Friend is allready added you can send message, Friend addedd successfuly.
                    </li>
                    <li>
                        In Dashboard: On page load list of friends are shows. After adding a new friend the same method is re-called to reload the list.
                    </li>
                    <li>
                        In Dashboard: Clicking on Chat button will display the chats w.r.t the selected friend. We can send a message from the input box given. Clicking on Chat button again will refresh the chats. Auto refreshing of chats is not yet done. The chat will be re-loaded once we send the message.
                    </li>
                    <li>
                        Logout: Will clear the session in server, then clears localStorage
                    </li>
                    <li>
                        Password are stored as MD5.
                    </li>
                    <li>
                        Relavent MySQL fields are indexed.
                    </li>
                    <li>
                        RESTful architecture.
                    </li>
                    <li>
                        Existing user credentials: <br>
                        username: [email protected]   password: 12345 <br>
                        username: [email protected]   password: 12345 <br>
                    </li>

                </ol>

            </p>

        </div>

    </div>
</div>

</body>
</html>

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.