-------------------------------------------NOTES APP----------------------------------

In this project we create a new note and do some operations like edit and delete the note.


Requirements:
------------

1. Code Blocks
2. XAMPP
3. Dev c++(Install in Program Files (x86))

4. Mysql.zip which will be provided


STEPS:
------

STEP 1: Install all of the above 4 applications and files.

STEP 2: Extract the files in Mysql.zip open mysqlheaders->mysqlheaders->copy all
	Goto C:\Program Files (x86)\Dev-Cpp\MinGW64\include and paste

STEP 3: Goto libmysql.a Copy file and paste in C:\Program Files (x86)\Dev-Cpp\MinGW64\lib

STEP 4: Open Code Blocks and open Project named Notes of type project. Then in the managment bar(present at the left of the window)
	open main.cpp under Notes->Sources->main.cpp.

STEP 5: Before Execution of the file goto projects->build options->linker settings and add libmysql.a 
	from devcpp folder and next goto search directories and add include folder
	(C:\Program Files (x86)\Dev-Cpp\MinGW64\include) and Press OK.
	
	NOTE:- search directories is accessed same as linker settings(projects->build options->search directories).

STEP 6: While running the file if you get an error add (Mysql->libmysql.dll->libmysql.dll) in to the project folder.

STEP 7: Now Build and Run The File.


XAMPP:
------
In XAMPP Create a new user account with details as follows:
username: user
password: pass

      AND 

Create Table 'note' with database name as 'notes'

CREATE TABLE 'notes'.'note' ( 
'id' INT NOT NULL AUTO_INCREMENT , 
'title' VARCHAR(50) NOT NULL , 
'content' VARCHAR(5000) NOT NULL , 
'important' BOOLEAN NOT NULL , 
PRIMARY KEY ('id')) ENGINE = InnoDB;



To Run Project in CodeBlocks

Press ctrl + O and open notes of type project.

NOTE:- Prepare the Backend before executing the project.



