Skip to content

DevlarIndia/trim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

trim

The home of the trim project

TODO: mock server request format

Running the mock server

cd mock-server
npm i
npm start

Routes

Base url: http://localhost:8000`

Routes:

// authentication
get('/login');
get('/signup');
get('/token/refresh');
get('/token/revoke/:token');
get('/token/revoke/all');

// account info
get('/user/info');

// create post
post('/post');

// get feed
get('/feed');