Skip to content

BW-Expat-Journal-Project/frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Front End Expat Journal

Documentation

Base URL for deployed API: https://bw-expat-journal-web.herokuapp.com/

Endpoints

Method URL Description Requires Token Requires Admin
POST /api/auth/register register a new user - -
POST /api/auth/login login as existing user - -
POST /api/ create a new post X -
GET /api/posts get information of all posts X -
GET /api/posts/:id gets a specific posts by id X -
GET /api/users/:id/posts get posts created by users with specified ID - -
PUT /api/posts/:id edit a posts(this is a new feature for DELETE a story or a photo associated with a post ) X X
DELETE /api/posts/:id delete a posts from database X X

About

front-end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •