A comprehensive example of building a full-stack JavaScript application using Node.js, Express, and MongoDB.
The application provides a platform for librarians to manage books, book instances, authors, genres, and user accounts.
It covers various aspects of web development, including data modeling, routing, authentication, and deployment.
- Browse and search for books, authors, genres, and book instances
- Create, update, and delete books, authors, genres, and book instances
- Manage user accounts and authentication
- Borrow and return book instances
- View the list of borrowed books for each user
-
Clone the repository:
git clone https://github.com/0xabdulkhalid/local-library-using-express.git
-
Install dependencies:
cd local-library-using-express npm install
-
Set up the MongoDB connection by creating a
.env
file with the following content:MONGO_URI=your-mongodb-connection-string
-
Start the application:
npm start
-
Open your web browser and navigate to
http://localhost:3000
to access the Local Library application.
-
The Local Library using Express application is deployed on Glitch, a platform for hosting and deploying web applications.
-
Please note that since the application is hosted on the free tier of Glitch, the initial load time may be slower due to the server's cold start. (Approx 5 mins)
-
You can access the deployed application here
This project is licensed under the MIT License.