Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/golamsarwar96/smart-picks-app-server
Smart Picks is a product recommendation react application. This repository contain the server side code with CRUD Operation and API endpoints
https://github.com/golamsarwar96/smart-picks-app-server
cookie-parser cors crud-operation expressjs jwt-authentication jwt-token middleware mongodb mongodb-atlas nosql-database
Last synced: about 8 hours ago
JSON representation
Smart Picks is a product recommendation react application. This repository contain the server side code with CRUD Operation and API endpoints
- Host: GitHub
- URL: https://github.com/golamsarwar96/smart-picks-app-server
- Owner: golamsarwar96
- Created: 2025-01-07T17:49:41.000Z (30 days ago)
- Default Branch: main
- Last Pushed: 2025-02-04T23:10:14.000Z (2 days ago)
- Last Synced: 2025-02-05T00:19:12.879Z (1 day ago)
- Topics: cookie-parser, cors, crud-operation, expressjs, jwt-authentication, jwt-token, middleware, mongodb, mongodb-atlas, nosql-database
- Language: JavaScript
- Homepage: https://smart-picks-server.vercel.app/
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project Name: Smart Picks 📦
The server-side implementation of a Product Recommendation Platform "Smart Picks" built with Express.js, MongoDB, and JWT for authentication. The backend provides RESTful APIs to manage queries, recommendations, while handling authentication and secure cookie management using cookie-parser.
# Features
• Authentication: Secure user authentication using JWT stored in cookies
• CRUD Operations:
- Queries: Create, read, update, and delete user queries.
- Recommendations: Add, update, and delete product recommendations. - Comments: Manage user comments on queries and recommendations.• Cookie Management: Securely store authentication tokens using cookie-parser.
• Database: Uses MongoDB for data persistence.## Tech Stack 👨🏻💻
• Framework: Express.js
• Database: MongoDB
• Authentication: JWT (JSON Web Tokens)
• Middleware: CORS, cookie-parser## Installation
### **1. Clone the Repository**
```sh
git clone https://github.com/golamsarwar96/smart-picks-app-server.git
```
### **2. Install Dependencies**```sh
npm install
```
### **3. Environment Configuration**
Create a .env file in the project root and add the following environment variables```sh
# Database Configuration
MONGO_URI=mongodb://localhost:27017/smartpicksDB# JWT Secret for Authentication
JWT_SECRET=your_jwt_secret_key```
### **4. Run the Project**
```sh
npm run dev
```## LIVE LINK: 🌐
https://smart-picks-server.vercel.app