A full-stack client-server application for online library written in node.js and react 17.
- Database: MySQL
- Back-end (REST API): JavaScript (nodejs, express)
- Front-end: JavaScript (React, Redux)
New installation
Create a new database and user like
CREATE DATABASE online_library;
CREATE USER 'online_library'@'localhost' IDENTIFIED BY 'online_library';
GRANT ALL PRIVILEGES ON online_library.* TO 'online_library'@'localhost';
FLUSH PRIVILEGES;
npm run cleaninstall
Re-seed
npm run seedinstall
Start
npm start
Point the browser to http://localhost:3000. Dedmo users: admin@email.com and user@email.com, demo password for both 12345.
If you have troubles running server part, try
npm install -g --force nodemon