Pinterest Clone backend in Express Typescript. You can access it by following this API Pinterest.
- node
- tsc
- mongodb
Below mentioned are the steps to install, configure and run this app.
# clone the project.
https://github.com/Joao-MCF/api_pinterest.git
# enter the cloned directory.
cd api_pinterest
# You need have MongoDB running in the background and you have created the database.
npm install
# You need edit you archive .env using any editor.
# You Should add all the configurations details or else default values will be used.
vim .env
# compile the app and run.
npm run compile
npm start
POST /user
POST /user/token
GET /user/:username
GET /validate
PUT /user
PUT /follow
PUT /unfollow
DELETE /user/:id
POST /pin
GET /pin/:id
GET /pins?type=type&board=board&user=user
PUT /pin/:id
DELETE /pin/:id
POST /board
GET /boards/:username
DELETE /board/:id
POST /pin/
GET /pin/:id/comments
DELETE /pin/:id/comment/:commentId
João Marcos C. Ferreira - Code and Documentation Linkedin