Agile-Travel_Planner_Tailwind_React_Node_Auth0 Tailwind Templates

Agile Travel_planner_tailwind_react_node_auth0

Tech used are React.js, REST APIs, Node.js, TypeScript, Vitest, Tailwind CSS, Auth0, Git - This APP helps people organize upcoming trips. What did I learn? Team Management, Communication, Collaborative Problem Solving.

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

Top categories

Loading Svelte Themes