Full-stack application to save paintings into a gallery by uploading them and saving them into a database.
Client: React
Server: Node, Express, MongoDB, Cloudinary, Multer
GET /api/v1/paintings GET /api/v1/paintings/${id}| Parameter | Type | Description |
|---|---|---|
_id |
ObjectID |
Required. Id of painting to fetch |
POST /api/v1/paintings GET /api/v1/paintings/${id}| Parameter | Type | Description |
|---|---|---|
_id |
ObjectID |
Required. Id of painting to update |
GET /api/paintings/${id}| Parameter | Type | Description |
|---|---|---|
_id |
ObjectID |
Required. Id of painting to delete |
Clone the project into your local machine
git clone https://github.com/WaelChettaoui/art-gallery.git
cd art-gallery⚠ BEFORE RUNNING THE PROJECT, YOU MUST CONFIGURE YOUR .env FILE ⚠
Switch into the server folder and install the dependencies
cd server
npm iSwitch into the client folder and install the dependencies
cd ../client
npm iRun the project
cd ..
npm run dev