Online BookStore is a full-stack web application developed using the PERN (PostgreSQL, Express, React, Node.js) stack. It allows users to add books to their collection, delete books, and make purchases.
- Add books to your collection
- Delete books from your collection
- Purchase books online
Before running the project locally, make sure you have the following installed:
- Node.js (version 20.3.1)
To get the project up and running on your local machine, follow these steps:
- Clone the repository:
git clone [vite-project]
- Navigate to the project directory:
cd [vite-project]
- Install the dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and visit:
http://localhost:3000
In the project directory, you can run the following scripts:
npm run dev
: Starts the development server for both the client and server.npm run build
: Builds the client-side code for production.npm run start
: Starts the production server.
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Submit a pull request.