Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 865 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 865 Bytes

Crio Winter of Doing, Stage-2B

Tech Stack used:

  • ReactJS
  • ExpressJS
  • NodeJS
  • LowDb
  • Axios
  • Cors

Deployed Frontend: https://xmeme-soh.netlify.app/

Deployed Backend: https://xmeme-soh.herokuapp.com/memes

To run frontend:

cd frontend

npm install

npm start

To run backend:

cd backend

npm install

npm start

Backend API Endpoints:

endpoint method Description
/memes GET Returns the current state of Database 'memes'
/memes POST To Post a json having keysname,caption,url
/memes/<id> GET Returns the value of an Object having keyid of value <id>
/memes/<id> PATCH Updates the Object in Database 'memes' having keyid of value <id>. Requires json having keys: caption,url
/ ALL Returns "Hellow"