# Sequencing of quickstarts for Angular SPA + Rails API-only backend

**URL:** <https://community.auth0.com/t/sequencing-of-quickstarts-for-angular-spa-rails-api-only-backend/38788>\
**Category:** Get Help\
**Tags:** rails-api, spa, quickstart\
**Created:** [March 3, 2020, 1:26pm UTC](https://community.auth0.com/t/sequencing-of-quickstarts-for-angular-spa-rails-api-only-backend/38788 "2020-03-03T13:26:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frinkiac-7](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/frinkiac-7/32/18811_2.png) [@Frinkiac-7](https://community.auth0.com/u/Frinkiac-7)\
**Post date:** [March 3, 2020, 1:26pm UTC](https://community.auth0.com/t/sequencing-of-quickstarts-for-angular-spa-rails-api-only-backend/38788/1 "2020-03-03T13:26:58Z")

</div>

Greetings everyone,

I’m building an Angular 8 app and intending to use a Rails API-only backend. I’ve successfully configured the frontend using the Angular Quickstart. My compliments to the doc team as it was very easy to follow and complete successfully.

My question regards the next step and trying to make an API call to an Auth0 secured backend. The Angular quickstart proceeds to use an Express API so I’m wondering if I should:

1. Simply replace the Express specific portions of the Angular SPA quickstart Part 2 with the relevant sections of the Rails API quickstart.

OR

1. Follow the Rails API quickstart in its entirety and then revert back to the Angular SAP quickstart and skipping all the Express sections?

While the two choices may be practically identical it’s not clear to me which one will allow me to continue using the checkpoints in the documentation to check my progress. I really like those so I’m hoping to find out the best way to keep moving forward.

My thanks to everyone in advance.

Rob

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 3, 2020, 10:58pm UTC](https://community.auth0.com/t/sequencing-of-quickstarts-for-angular-spa-rails-api-only-backend/38788/3 "2020-03-03T22:58:39Z")

</div>

Hi @Frinkiac-7,

I am not sure if there will be a huge difference here. The Rails API is going to be a direct replacement for the Express app. I looked over both quickstarts and it seems like you should be able to drop the Rails API directly in place of the Express API portion of the tutorial.

You will need to add the relevant angular code from the part 2 of the angular quickstart, but it looks like that should be about it.

Let me know if you run into anything and I will try and work through it with you. Feel free to continue in this thread too since it is related.

---

<div class="post-metadata">

**Author:** ![Frinkiac-7](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/frinkiac-7/32/18811_2.png) [@Frinkiac-7](https://community.auth0.com/u/Frinkiac-7)\
**Post date:** [March 4, 2020, 7:26am UTC](https://community.auth0.com/t/sequencing-of-quickstarts-for-angular-spa-rails-api-only-backend/38788/4 "2020-03-04T07:26:41Z")

</div>

Hi Dan,

Thanks very much for the response, mate. This is all new to me so I wanted to ask as I didn’t want to risk confusion jumping between two quickstarts only to find out later that “Oh, yeah, doing X instead would have been way easier.” 😆

Thanks again for your help.

Cheers.

Rob

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 5, 2020, 9:07pm UTC](https://community.auth0.com/t/sequencing-of-quickstarts-for-angular-spa-rails-api-only-backend/38788/5 "2020-03-05T21:07:31Z")

</div>

No problem! There may be some custom config, but it should be pretty straightfoward. Regardless, we can get it working.

---

<div class="post-metadata">

**Author:** ![Frinkiac-7](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/frinkiac-7/32/18811_2.png) [@Frinkiac-7](https://community.auth0.com/u/Frinkiac-7)\
**Post date:** [March 15, 2020, 2:43pm UTC](https://community.auth0.com/t/sequencing-of-quickstarts-for-angular-spa-rails-api-only-backend/38788/6 "2020-03-15T14:43:53Z")

</div>

Hi Dan,

I started another thread to address the issue I’m having. Not sure if it makes sense to link it here in case it helps continuity for others who may be struggling with similar learning curve issues.

> [@Insufficient scope error on Rails API](http://community.auth0.com/t/insufficient-scope-error-on-rails-api/39432):
>
> Greetings all, I’m working on getting Auth0 to work for both user authentication in my Angular SPA which uses a Rails API backend. The Angular QuickStart seems to have worked as I’m able to login/logout of my app as expected. I completed the Rails API QuickStart but I’m getting the following errors when I attempt to test the endpoint as indicated in the Quickstart or use the id\_token obtained by logging into my Angular app in curl to verify that everything is working as expected: Quickstart …

I can delete this reply if this isn’t within the community standards.

Cheers, mate.

Rob

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 29, 2020, 6:56pm UTC](https://community.auth0.com/t/sequencing-of-quickstarts-for-angular-spa-rails-api-only-backend/38788/7 "2020-03-29T18:56:59Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
