This APP helps people origanise upcoming trips.
-
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
- 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
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
cp .env.example .env
npm run test