A simple book app build with mongodb, express, reactjs and nodejs.
I built simple book app, in this application you can create new book, enter book title, description, category, upload book image and give a stars. And then you'll edit that book stages and delete complately book page.
MONGODB
EXPRESS
REACT JS
NODE JS
To run the project in your local environment, follow these steps: ⬇️
- Vite Tool
- NodeJs.
- Database (
MongoDB
) Free Cluster.
Create a .env file to store your credentials:
MONGODB_URI=mongodb+srv://<username>:<password>@clusterName.xxxxxxx.mongodb.net/blog
For the backend side follow these steps: ⬇️
- Run
npm install
in the project directory to install the required dependencies. - Run
npm run dev
to get the project started. - Open http://localhost:8000 (or the address shown in your console) in your web browser to view the app.
For the frontend side follow these steps: ⬇️
- Run
cd simple-book-store/client/
should go folder field. - Run
npm install
in the project directory to install the required dependencies. - Run
npm run dev
to get the project started. - Open http://localhost:5173 (or the address shown in your console) in your web browser to view the app.