Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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