Skip to content

sfareya/art-gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Art Gallery

Full-stack application to save paintings into a gallery by uploading them and saving them into a database.

Tech Stack

Client: React

Server: Node, Express, MongoDB, Cloudinary, Multer

API Reference

Get all paintings

  GET /api/v1/paintings

Get ONE painting

  GET /api/v1/paintings/${id}
Parameter Type Description
_id ObjectID Required. Id of painting to fetch

Create painting

  POST /api/v1/paintings

Update painting

  GET /api/v1/paintings/${id}
Parameter Type Description
_id ObjectID Required. Id of painting to update

Delete painting

  GET /api/paintings/${id}
Parameter Type Description
_id ObjectID Required. Id of painting to delete

Installation

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 i

Switch into the client folder and install the dependencies

  cd ../client
  npm i

Run the project

  cd ..
  npm run dev

Authors

About

for a few poggies more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors