rpsapi Demo (Backend) App from the Virtual Classroom - not serving a site

1 Answer 47 Views
General Discussions
Doug
Top achievements
Rank 2
Iron
Iron
Iron
Doug asked on 31 Aug 2023, 06:37 PM

Hi all,

In the interest of being thorough, I'm watching Chapter 2: Getting Started, Video #3: Running the API and demo application. I've cloned the https://github.com/telerik/rpsapi.git repository to a local folder, run npm install, and then run npm run dev.

When I attempt to run the app on http://localhost:8080, I don't get a site - even though the ts-node-dev server software appears to be running.

Attempts to make Postman GET requests of http://localhost:8080 yield 404 errors.

What am I doing wrong?

1 Answer, 1 is accepted

Sort by
1
Vessy
Telerik team
answered on 04 Sep 2023, 04:00 PM

Hello, Doug,

The listed steps are proper and it does not seem that you d anything wrong, but it could be rather some local specific. Basically, the most important part of the rsapi repo is to run the development server, so if it is running at your end you can just continue with the rpstrackerreact that contains the actual application used in the course that only consumes the data returned by the `rsapi`:

Going through the steps below should allow you to run the prepared sample application successfully:

  1. Clone https://github.com/telerik/rpsapi
     - run `npm install`
     - run `npm run dev`
  2. Clone https://github.com/telerik/rpstrackerreact
     - run `npm install`
     - run `npm start`
     - open http://localhost:3000/ 

Please, go through them and let me know how it goes.

Regards,
Vessy
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Doug
Top achievements
Rank 2
Iron
Iron
Iron
commented on 06 Sep 2023, 06:51 PM

@Vessy I did a few updates to some dependencies, and then it worked out.
Vessy
Telerik team
commented on 07 Sep 2023, 06:50 AM

Thanks a lot for the follow-up, Doug! I am glad to know that you are now able to continue the course smoothly :)
Tags
General Discussions
Asked by
Doug
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Vessy
Telerik team
Share this question
or