- UI team: Steven Jefferson, James Goodnight, Itel Domingo
- Lead Frontend Developer: Matt Basile
- Lead Backend Developer: Asa Shalom
- Scrum Master: Timothy Hoang
- To view deployed app, visit: Guidr Home
- To hit endpoints of the app, target: Guidr Heroku
- To get to the github repo of the app, target: Github Server Repo
- Guidr is an app that helps backcountry guides of all types log their private/professional trips.
- Sign up for an account, add adventures, see different profile
- Currently: Stable Version v1.0 -- updates are possible, not currently planned (as of 2/8/2019)
- A powerful back-end platform built with Node, Express, SQLite3, Knex, Axios, JSON Web Tokens, and Bcryptjs
- Ability to hit target endpoints to get specific data from MySQL server with adventures and user tables
-
Admin Routes
-
POST
https://guidr2.herokuapp.com/register
= Registers a user -
POST
https://guidr2.herokuapp.com/login
= Logs in a user -
requires user object with
`username` (string),
`password` (string),
-
GET
https://guidr2.herokuapp.com/adventures
= Authenticates a user -
not in use
-
Adventure Routes
-
POST
https://guidr2.herokuapp.com/adventures
= Adds a new adventure -
submit an object with the shape of:
`id` (number),
`user_id` (number),
`adventure_type` (string),
`title` (string),
`location` (string),
`duration` (string),
`description` (string),
`professional` (boolean),
`date` (string),
- GET
https://guidr2.herokuapp.com/adventures
= Gets all the adventures - returns an ARRAY of objects with shape of:
`id` (number),
`user_id` (number),
`adventure_type` (string),
`title` (string),
`location` (string),
`duration` (string),
`description` (string),
`professional` (boolean),
`date` (string),
- GET
https://guidr2.herokuapp.com/adventures/:id
= Gets specific adventure by ID - returns an object with shape of:
`id` (number),
`user_id` (number),
`adventure_type` (string),
`title` (string),
`location` (string),
`duration` (string),
`description` (string),
`professional` (boolean),
`date` (string),
-
PUT
https://guidr2.herokuapp.com/adventures/:id
= Updates a specific adventure by ID -
DELETE
https://guidr2.herokuapp.com/adventures/:id
= Deletes specific adventure by ID -
User Routes
-
POST
https://guidr2.herokuapp.com/user
= Adds a new user -
GET
https://guidr2.herokuapp.com/user
= Gets all the users -
returns an ARRAY of objects with shape of:
`id` (string),
`username` (string),
`name` (string),
`email` (string),
`location` (string),
`bio` (string),
`professional` (boolean)
- GET
https://guidr2.herokuapp.com/user/:id
= Gets specific user by ID - returns specific user object with shape of:
`id` (string),
`username` (string),
`name` (string),
`email` (string),
`location` (string),
`bio` (string),
`professional` (boolean)
- GET
https://guidr2.herokuapp.com/user/:id/adventures
= Gets all adventures from specific user by ID - returns an ARRAY of objects with shape of:
`id` (number),
`user_id` (number),
`adventure_type` (string),
`title` (string),
`location` (string),
`duration` (string),
`description` (string),
`professional` (boolean),
`date` (string),
-
PUT
https://guidr2.herokuapp.com/user/:id
= Updates a specific user by ID -
DELETE
https://guidr2.herokuapp.com/user/:id
= Deletes specific user by ID
- Github Repo: Guidr Server Repo
- Have stable NPM and NodeJS versions installed on your computer
- Navigate to the directory of choice and type
git clone https://github.com/guidr-app-lion-team/guidr-server.git
- Install necessary packages either with
npm install
oryarn
- Run the client with
npm start
oryarn start
, then navigate tohttp://localhost:5000/
to see the client - Open up the codebase with your favorite editor and hack away!