Table of Contents
Bibliophiles is a book cataloging and review website. There are two types of users - Admin and Reader.
An Admin can add, update and delete-
- Books
- Authors
- Publishers
- Genres
A Reader can-
- Explore and critique books available in our database.
- Search for any book as they want using our advance search.
- Create virtual bookshelves and add and delete books in their bookshelves and personalize their bookshelves accordingly.
Here in Bibliophiles, a Reader will find properly cataloged books, so that they can enrich their knowledge of books and everything related to books (i.e. authors, publishers etc.)
- Node.js
- OracleDB
- Bootstrap
- React
Oracle
: As this is primarily an Oracle Database Project, Oracle has to be installed in your system. To install Oracle 19c, follow these steps.
- Go here and register for an account of your own.
- Then go here and install the file according to your system.
- After downloading the ZIP file, UNZIP it and Run setup.exe
- Install properly.
Node.js
: For this project, you will also need Node.js. Install Node.js from here
Follow the steps below to properly install this project.
- First, download the project as a ZIP file from github into your PC
- Then UNZIP it
- Go to SQL Plus
- Enter proper user-name and password to login
- Then run command
SQL> connect sys as sysdba Enter password: password
- Create a new user. For example, we are creating c##bibliophiles
SQL> create user c##bibliophiles identified by password; SQL> grant all privileges to c##bibliophiles;
- Now connect to c##bibliophiles
SQL> connect c##bibliophiles Enter password: password
- Run the 'SchemaCreation.sql' file from 'database-setup' folder
SQL> @[path]
In the place of
[path]
you will have to provide the path ofSchemaCreation.sql
in your PC.
For example if your file is inD:\Bibliophiles-main\database-setup\SchemaCreation.sql
then runSQL> @D:\Bibliophiles-main\database-setup\SchemaCreation.sql
- Run the 'TrigsFuncProcs.sql' file from 'database-setup' folder
SQL> @[path]
In the place of
[path]
you will have to provide the path ofTrigsFuncProcs.sql
in your PC.
For example if your file is inD:\Bibliophiles-main\database-setup\TrigsFuncProcs.sql
then runSQL> @D:\Bibliophiles-main\database-setup\TrigsFuncProcs.sql
- This way user c##bibliophiles will have the proper schema of our project
- To get the existing Data of our Project, you will also have to run 'Data.sql' file. But, as there are characters in 'Data.sql' that SQL Plus cannot read, you will have to go to your database GUI (navicat, datagrip etc.) and run 'Data.sql' for c##bibliophiles from there.
- If done properly, your user c##bibliophiles should have proper scema, triggers, procedures, functions and data of our project.
Create a new file .env
in the server
folder
Add the following code.
PORT = THE_PORT_YOU_WANT_TO_RUN_ON
DatabaseUser = DATABASE_USER_NAME
DatabasePassword = DATABASE_USER_PASSWORD
DatabaseConnectionString = DATABASE_CONNECTION_STRING
You will have to insert proper values in places of
- THE_PORT_YOU_WANT_TO_RUN_ON
- DATABASE_USER_NAME
- DATABASE_USER_PASSWORD
- DATABASE_CONNECTION_STRING
For example, if we want to run it on port 5000
, using the user c##bibliophiles we just created, and with the connection string as localhost:1521/orcl
, then we will add the following code in .env
PORT = 5000
DatabaseUser = 'c##bibliophiles'
DatabasePassword = 'password'
DatabaseConnectionString = 'localhost:1521/orcl'
Open cmd and go to the client folder in cmd and run the command
npm install
Then go to the server folder in cmd and do the same
npm install
Open cmd and go to the server folder in cmd and run the command
npm start
Then go to the client folder in cmd and do the same
npm start
-
Abu Humayed Azim Fahmid - 1805036
-
Asif Shahriar - 1805040
-
-
Associate Professor
▶ Contact:
Room No: 311
Department of Computer Science and Engineering
Bangladesh University of Engineering and Technology
Dhaka 1000, Bangladesh▶ Homepage:
-