datastaxdevs / appdev-week1-todolist

Summer Series Week 1 - Run your first frontend application the Todolist
85 stars 97 forks source link

[HW] Felipe Rojas #154

Open chekobil opened 3 years ago

chekobil commented 3 years ago

Name: Felipe Rojas Email: felipe.arg@gmail.com Linkedin Profile: https://www.linkedin.com/in/felipe-arg/

Attach the homework screenshots below:

local version

local

Point 7, crashed with this message:

❯ npm exec astra-setup todos_workshop_db todos
Checking your credentials...

/Users/kobino/Desktop/DataStax/appdev-week1-todolist/node_modules/astra-setup/node_modules/@astrajs/rest/src/rest.js:164
    throw new Error(
          ^

Error: Request Failed: 404 page not found

Stack Trace: Request failed with status code 404
    at axiosRequest (/Users/kobino/Desktop/DataStax/appdev-week1-todolist/node_modules/astra-setup/node_modules/@astrajs/rest/src/rest.js:164:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.createClient (/Users/kobino/Desktop/DataStax/appdev-week1-todolist/node_modules/astra-setup/node_modules/@astrajs/rest/src/rest.js:97:24)
    at async astraClient.createClient (/Users/kobino/Desktop/DataStax/appdev-week1-todolist/node_modules/astra-setup/src/astra-setup.js:49:17)
    at async start (/Users/kobino/Desktop/DataStax/appdev-week1-todolist/node_modules/astra-setup/src/astra-setup.js:271:2)

So, my work is based on this repo https://github.com/DataStax-Examples/todo-astra-jamstack-netlify and I made a local version, one on Gitpod and one on Netlify, all connected to the same database

local

local_todos

Gitpod

gitpod_todos

Netlify

netlify_todos

chekobil commented 3 years ago

Ok I get it, on step 7 y was creating the .env file with the credentials, and it must be an empty file ... now it´s working

rest_todos_gitpod

SonicDMG commented 3 years ago

Really nice job working through this. Looks like you got it all working just fine. Did you ever get passed the astra-setup error early on? Seems like you must have if the database connection was working enough for you to do todo items in your list.

HadesArchitect commented 3 years ago

Hey Felipe Rojas, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/pTMzpgUOTEC86FtcW3YZqw