- Create, Delete,Modify a book by interacting with a sql database using a node express API.
- make sure to create your own .env file in the backend folder and put the values respecting the .env.example file.
- run
npm i
on both backend and client folders. - run
npm start
on both client and server folder. - make sure to create a database that has this structure :
COLUMN | ATTRIBUTES |
---|---|
id | INT, PRIMARY KEY, UNIQUE, AUTO INCREMENT |
tilte | VARCHAR(45) |
desc | VARCHAR(255) |
price | INT, NOT NULL |
cover | VARCHAR(45),UNIQUE |
MIT.