This project is a Library Management System connected to a MySQL server. Follow the steps below to set up your environment and run the application.
Make sure you have the following software installed on your machine:
- Node.js: Download and Install Node.js
- MySQL: Download and Install MySQL
-
Clone the repository:
git clone https://github.com/rahulbharti5/Library-Management-System.git
-
Navigate to the project directory:
cd Library-Management-System
-
Install dependencies:
npm install
-
Create a ".env.development" file in the root of the project and provide the necessary configurations. Example:
DB_HOST=localhost DB_USER=root DB_PASSWORD=password DB_DATABASE=library_database SECRET_KEY=mysecretkey
Adjust the values according to your MySQL server configuration and application needs.
Use nodemon to run the application. Nodemon automatically restarts the server when changes are detected. ```bash npm run dev
Visit http://localhost:3000 in your browser to view the application.
Update other configuration settings in the .env.development file as needed. Feel free to explore and modify the code to suit your project requirements.
If you would like to contribute to this project, please follow the contribution guidelines .
This project is licensed under the Apache License 2.0 .