https://github.com/xaliz-06/rebook-backend
[BACKEND] Web-app project to search for a location and buy and sell books.
https://github.com/xaliz-06/rebook-backend
cloudinary express jwt mongodb mongoose nodejs stripe-api typescript
Last synced: 3 months ago
JSON representation
[BACKEND] Web-app project to search for a location and buy and sell books.
- Host: GitHub
- URL: https://github.com/xaliz-06/rebook-backend
- Owner: xaliz-06
- Created: 2024-03-30T07:21:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-15T06:11:58.000Z (about 2 years ago)
- Last Synced: 2025-01-03T04:31:15.935Z (over 1 year ago)
- Topics: cloudinary, express, jwt, mongodb, mongoose, nodejs, stripe-api, typescript
- Language: TypeScript
- Homepage: https://rebook-frontend.onrender.com/
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RE-BOOK (Back-end)
This is the repository for Re-Book back-end files.
Re-Book is a web-app project of mine which lets users buy and sell books from a location. The idea is to build an app from where a person can search for cities and towns and look for people who are selling their books by creating a store on the platform.
## Live Link
https://rebook-frontend.onrender.com/
## Features
* Create your profile and set up your store to list, delist or update books for sale.
* Search for a location, store or genre and get stores in that location, or relevant to the genres and filter the stores by genre.
* Order from any store through a payment flow and track your order status.
* Change order status of orders for your own store.
## What I used for this project (backend dependencies)
* TypeScript
* Node.js and Express
* MongoDB, Mongoose (ORM)
* jsonwebtoken, multer, cors
* Cloudinary for image upload
* Stripe API and SDK for payment processing
## Installation
1. Clone the repository and install the dependencies
```bash
git clone https://github.com/xaliz-06/rebook-backend.git
cd backend
npm install
```
2. Set up required environment variable
3. Run the server locally
```bash
npm run dev
```
The server will run at http://localhost:5000/ by default.
3. Build for production
```bash
npm run build
```
4. Run the production server
```bash
npm start
```
## Documentation
[TypeScript](https://www.typescriptlang.org/docs/) |
[Stripe](https://docs.stripe.com/) |
[Node.js](https://nodejs.org/docs/latest/api/) |
[Express](https://expressjs.com/) |
[MongoDB](https://www.mongodb.com/docs/) |
[Mongoose](https://mongoosejs.com/docs/) |
[jsonwebtoken](https://www.npmjs.com/package/jsonwebtoken) |
[multer](https://www.npmjs.com/package/multer) |
[Cloudinary](https://cloudinary.com/documentation) |
## Link to Front-end Repository
https://github.com/xaliz-06/rebook-frontend.git