A simple yet elegant book shop application.
Follow these steps to set up and run the project on your local machine.
- Node.js
- npm
- MongoDB
- Clone the repository:
git clone git@github.com:JohnAisthorpe/Capstone_Book_Shop.git
cd Capstone_Book_Shop
- Install the required packages in both the root and client directories:
npm install
cd client
npm install
cd ..
- Create a
.env
file in the root directory with your MongoDB connection string:
MONGO_URI=your_mongodb_connection_string_here
PORT = 4999
TOKEN_SECRET = my_secret
To run the application, simply execute the following command in the root directory:
npm run app
This will start both the backend server and the frontend client.
Now you can visit the Capstone Book Shop application in your browser at http://localhost:3000
.
Please give feedback, thanks for looking.