Git Product home page Git Product logo

tapntour-challenge's Introduction

Warning

The updated version of this repo can be found here

Candidate Information

Netlify Status

Name: René Cáceres

Email: [email protected]

Winter Internship TAPNTOUR Challenge Program

This is a Intership TAPNTOUR Challenge Program, please follow the below intructions to complete the challenge.
Please if you have any question send a email to [email protected].

Objetive

Please clone this repository and finish the 3 challenges. Using the endpoint database to fetch the data.

1-  Show the all tours in a List Component  using TourView.vue file.     ( ETC 6 hrs ) 
2-  Show the all guides in a List Component using GuideView.vue file.    ( ETC 6 hrs )
3-  Show the tour detail in a List Component using  TourDetail.vue file. ( ETC 6 hrs )

Our Stack

+ Vue3 
+ Vite 
+ Tailwincss 
+ Pinia 

Database Model

create table tours (
  id integer primary key autoincrement,
  name     text not null,
  resume   text not null,
  image    text not null,
  audio    text not null,
  country  text not null,
  city     text not null,
  duration text not null,
  stops    text not null,
  mode     text not null
);

create table tours_detail (
  id integer primary key autoincrement,
  name     text not null,
  resume   text not null,
  stop     text not null,
  image    text not null,
  audio    text not null,
  duration text not null,
  lat      text not null,
  log      text not null,
  tour_id  integer not null,
  guide_id integer not null
);

create table guides (
  id integer primary key autoincrement,
  guidename text not null,
  bio text not null,
  avatar text not null,
  country text not null,
  rating  integer not null
);

Database Endpoint

Fetch all tours

$ curl -X POST https://tapntour-wk-db.glyfo.workers.dev/api/tours

Fetch all guides

$ curl -X POST https://tapntour-wk-db.glyfo.workers.dev/api/guides

Fetch guide detail

$ curl -X POST https://tapntour-wk-db.glyfo.workers.dev/api/tours/detail/:id

Project Lifecycle

$ git clone repo_challenge 
$ npm install 
$ npm run dev 
$ npm run build --> deploy the app

tapntour-challenge's People

Contributors

panquequelol avatar afuentes avatar

Stargazers

Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.