Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajithkumar-v-1/artvista-gallery-backend
ARTVISTA BACKEND
https://github.com/ajithkumar-v-1/artvista-gallery-backend
authentication cookie-parser cors express nodejs
Last synced: 21 days ago
JSON representation
ARTVISTA BACKEND
- Host: GitHub
- URL: https://github.com/ajithkumar-v-1/artvista-gallery-backend
- Owner: ajithkumar-v-1
- Created: 2024-10-03T07:30:29.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-12-05T10:16:37.000Z (about 1 month ago)
- Last Synced: 2024-12-05T11:28:20.067Z (about 1 month ago)
- Topics: authentication, cookie-parser, cors, express, nodejs
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ArtVista Gallery Backend
This is the backend server for the ArtVista Gallery application. It is built using Node.js and Express.js with MongoDB as the database. This backend provides APIs for handling user authentication, managing artwork, processing payments, and generating reports.Features
User Authentication: Secure user registration and login using JWT and bcrypt for password hashing.
Role-Based Access: Different roles (Admin, Artist, Customer) with access control to different features.
CRUD for Artwork: Artists can create, read, update, and delete artwork.
Order Management: Customers can place orders, and admins can view and manage them.
Payment Integration: Integration with Stripe/RazorPay for handling payments.
Report Generation: Admins can generate reports based on orders and artwork statistics.
Security: Passwords are securely hashed, and sensitive routes are protected by JWT authentication.
Technologies Used
Node.js
Express.js
MongoDB (for data storage)
JWT (JSON Web Tokens for authentication)
bcryptjs (for password hashing)
Stripe/RazorPay (for payment integration)
Mongoose (for MongoDB object modeling)
dotenv (for environment variable management)
Prerequisites
Before starting, ensure you have the following installed:Node.js (LTS version recommended)
MongoDB (either local or using MongoDB Atlas)
Stripe Account or RazorPay Account for payment integration
Installation
1. Clone the repository:
bash
Copy code
git clone https://github.com/your-username/artvista-gallery-backend.git
2. Install dependencies:
Navigate to the backend folder and install the necessary dependencies.bash
Copy code
cd artvista-gallery-backend
npm install