Giter VIP home page Giter VIP logo

todolist-webservices's Introduction

To DO List WebService

Dépot GIT pour la To Do List dans le cadre de la LP DIM

Installation base de données

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



CREATE TABLE `task` (
  `task_id` int(11) NOT NULL,
  `task_name` text NOT NULL,
  `task_date` date NOT NULL,
  `task_user` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


INSERT INTO `task` (`task_id`, `task_name`, `task_date`, `task_user`) VALUES
(20, 'max', '2019-03-23', 'guizmo'),
(21, 'maxououcava', '2019-03-23', NULL),
(27, 'Faire p', '2019-03-23', NULL),
(28, 'Faire la vaiselle', '2019-03-23', NULL),
(29, 'maxou', '2019-03-27', 'maxence memrzm');

CREATE TABLE `user` (
  `user_id` int(11) NOT NULL,
  `user_name` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


INSERT INTO `user` (`user_id`, `user_name`) VALUES
(1, 'maxence  memrzm'),
(6, 'lisa'),
(7, 'sailly maxence');


ALTER TABLE `task`
  ADD PRIMARY KEY (`task_id`);

ALTER TABLE `user`
  ADD PRIMARY KEY (`user_id`);

ALTER TABLE `task`
  MODIFY `task_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

ALTER TABLE `user`
  MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
COMMIT;

Configuration

Pour lier la bdd

  • init.php

todolist-webservices's People

Contributors

saillymaxence avatar

Watchers

 avatar

Forkers

larochel

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.