Skip to content

pohutukawa-2023/Travel-Planner

Repository files navigation

Travel-Planner

This APP helps people origanise upcoming trips.

Setup

0. Installation and migrations

  • Clone this repo and cd into the new directory

  • Install packages, run migrations and seeds, and start the dev server with npm run dev

    Tip

    Commands might look like this:

    npm install
    npm run knex migrate:latest
    npm run knex seed:run
    npm run dev
  • Visit http://localhost:5173 in your browser


Need to know

Auth Requirements summary

Client-side

  • Determine if the current user is logged in or not
  • Allow the user to register
  • Allow the user to sign in
  • Send the access token with each request
  • Allow the user to log off
  • Hide/show components based on the user's auth status

Server-side

The following routes should accept only authenticated requests

  • POST /api/v1/itinerary
  • GET /api/v1/suggestions/search?city=Auckland
  • POST /api/v1/travelDetail
  • GET /api/v1/travelDetail
  • GET /api/v1/travelDetail/:detailId

.env

cp .env.example .env

Tests

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •