/LoginExample.sql (144b4908b179b1ce72d2643d1a131909d88fc846) (1862 bytes) (mode 100644) (type blob)

-- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Oct 10, 2019 at 10:18 PM
-- Server version: 10.1.34-MariaDB
-- PHP Version: 7.2.7

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `LoginExample`
--
CREATE DATABASE IF NOT EXISTS `LoginExample` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
USE `LoginExample`;

-- --------------------------------------------------------

--
-- Table structure for table `Sessions`
--

CREATE TABLE `Sessions` (
  `ID` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `ExpirationDate` int(11) UNSIGNED NOT NULL,
  `Data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- --------------------------------------------------------

--
-- Table structure for table `Users`
--

CREATE TABLE `Users` (
  `Username` varchar(40) COLLATE utf8_bin NOT NULL,
  `Password` varchar(1024) COLLATE utf8_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Dumping data for table `Users`
--

INSERT INTO `Users` (`Username`, `Password`) VALUES
('Someone', '1234');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `Sessions`
--
ALTER TABLE `Sessions`
  ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `Users`
--
ALTER TABLE `Users`
  ADD PRIMARY KEY (`Username`);
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;


Mode Type Size Ref File
100644 blob 13 40b878db5b1c97fc77049537a71bb2e249abe5dc .gitignore
100644 blob 1862 144b4908b179b1ce72d2643d1a131909d88fc846 LoginExample.sql
100644 blob 2082 30b3f190b8e2b8010ef36a0710a5ac4ca2e58399 app.js
040000 tree - c9a25462c2706b1e628e4cfd2a202d7acc65fd4b bin
040000 tree - ff1a8fcc468c93d1f455f2334d0e231c6523bb89 models
100644 blob 22273 7b396d33f91ee57fdccccf1bc89da53947d5d750 package-lock.json
100644 blob 407 f52ee921e2a5f0689a17883c5d4b380a4fefd24c package.json
040000 tree - 1d777bd2c52bac417e406e0d46a15b4ef5fe967f public
040000 tree - 6e760d9b88a3bbc3d504b4347139ce7657c3f536 routes
040000 tree - d7906d83b9cf391b98d9ffb4c80fc5a73d9f5641 views
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/EyadMohammedOsama/Express-Login-System

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/EyadMohammedOsama/Express-Login-System

Clone this repository using git:
git clone git://git.rocketgit.com/user/EyadMohammedOsama/Express-Login-System

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main