Skip to content

DavAlbert/notes-app-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Note App

I decided to learn PHP without using frameworks. This project was not created to use it productively. If you have suggestions for improvement concerning code, you are welcome to make a Pull Request.

Create SQL database models:

CREATE TABLE users (
    id int unsigned AUTO_INCREMENT PRIMARY KEY,
    username varchar(30) not null,
    password varchar(100) not null,
    creation_date timestamp DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE notices (
    id int unsigned AUTO_INCREMENT PRIMARY KEY,
    text varchar(300) not null,
    creation_date timestamp DEFAULT CURRENT_TIMESTAMP,
    user_id int unsigned not null,
    FOREIGN KEY(user_id) REFERENCES users(id) ON UPDATE CASCADE ON DELETE CASCADE
);

Screenshots:

Login

Login

Register

Register

Change Password

Change Password

Create Note

Create Note

List notes

List Notes

About

I am learning PHP, this app is my first project in this programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •