Skip to content

sivatharan/simple_library_system_using_nodejs_and_react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was Simple Library System used React & Nodejs.

Simple Library System Solution to Add and List Books

Proposed Solution

  • 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

Technologies​

  • 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
  });

prepare database

  • create database name with librarybook
  • import sql file into database db.sql

Install dependency and start server(node project/backend)

npm install nodemon -g Install nodemon globaly.
go to the server directory cd server
npm install Install dependency.
npm start start the server

Install dependency and start client (react project/Frontend)

go to the client directory cd client
npm install Install dependency.
npm start

Something Missing?

If you have ideas for more “How To” recipes that should be on this page, let me know or contribute some!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published