This is a simple CRUD (Create, Read, Update, Delete) application for managing books. The project consists of both frontend and backend components to provide a complete working application.
- View a list of books with their titles and authors.
- Add a new book to the list.
- Edit existing book details.
- Delete books from the list.
- React.js
- React Router Dom for navigation
- React Dom
- React Icons
- Node.js
- Cors
- dotenv
- Express
- Mongoose
- MongoDB for the database
- Clone the repository to your local machine.
git clone [email protected]:SilvaOz/Books-Project.git
cd frontend
npm install
cd ../backend
npm install
cd backend
nodemon server.js
cd backend
npm run dev
The frontend should be accessible at http://localhost:5173, and the backend server will run on http://localhost:4000.
- GET /books: Get a list of all books.
- POST /books: Add a new book to the list.
- GET /books/:id: Get details of a specific book by ID.
- PATCH /books/:id: Update book details by ID.
- DELETE /books/:id: Delete a book by ID.
Feel free to contribute to this project by opening issues or submitting pull requests.