Skip to content

wanderlust-bw/wanderlust-BE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wanderlust-BE

Technologies

  • Production

Node.js Express Knex SQLite Postgres Bcrypt Cors JSON Web Token Knex Cleaner

  • Development

Cross Env Jest Nodemon Supertest

Set up

  • git clone (repository)
  • yarn install dependencies and dev-dependencies
  • yarn server

Testing

  • yarn test

Endpoints

  • user/register -> post ->name, username, password, userType -> string
  • user/login -> post -> username, password -> string
  • api/trip -> post -> title,description,location -> string
  • api/trip/:id -> get -> get trip by trip_id
  • api/trip -> get -> id,title,description,location,timestamps,user_id
  • api/trip/:id -> update
  • api/trip/:id -> delete
  • api/trip/:id/profile -> get by user_id, the user_trip

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors