Simple Library System Solution to Add and List Books
- Admin should be able to add books
- Admin should be able to view the added book as a list
- Admin should be able to delete books
- Frontend : ReactJS and Redux with CSS framework
- Backend Service: Node JS - Express
- Database: Mysql, but used Stored Procedures also.
connection.query('call addBook("'+makeid()+'","'+ req.body.title+'")', function (error, results, fields) {
connection.release();
//response code here
});
- create database name with librarybook
- import sql file into database
db.sql
npm install nodemon -g
Install nodemon globaly.
go to the server directorycd server
npm install
Install dependency.
npm start
start the server
go to the client directory
cd client
npm install
Install dependency.
npm start
If you have ideas for more “How To” recipes that should be on this page, let me know or contribute some!