How to submit solutions using a repo on github

Hello, I noticed with all the new additions to the curriculum last month that we also had new options on where we could code and submit solutions. I am currently doing the Apis And Microservices Certification part of the curriculum and every intro section mentions this,

“Start this project on Glitch using this link or clone this repository on GitHub! If you use Glitch, remember to save the link to your project somewhere safe!”

I prefer to code in my IDE of choice VS Code (it is). But those instructions are light on how to submit using the cloned repo. I’ve tried direct links to the repo and github pages, but neither seems to work. In either case the tests fail, but the same solutions on glitch pass. If this is a bug I haven’t found it in the issues and I wanted to ask first in case I missed some instructions somewhere.

Here is my repo link I submit - https://github.com/SiriusScaper/boilerplate-mongomongoose

Thanks

1 Like

As I understand these, you submit two links when you complete these projects:

  1. solution
  2. githubLink

The first is a link to a working example and the second is a link to the code.

For example, in the “Timestamp Microservice”, the first link would link to the server that is running this so anyone can test it. For example, if you have it set up on heroku or glitch - it is a live server running your code. The second is just a link to your github repo so anyone can see your code.

1 Like

Yes, you can build the server locally if you want - no problem. But then you have to put it somewhere on the internet (FCC can’t test it if it’s running on your laptop.) When I started, we were uploading to heroku, I guess they use glitch now. But it doesn’t matter where you dev the code.

Sorry, I meant the lessons not the projects. I’m still working on mongoDB and Mongoose.

Above the line you quote is the line:

Working on these challenges will involve you writing your code on Glitch on our starter project. After completing each challenge you can copy your public glitch url (to the homepage of your app) into the challenge screen to test it! Optionally you may choose to write your project on another platform but it must be publicaly visible for our testing.

Now, do you have to do them on glitch? No, you can develop them locally, but you are still going to have to deploy it somewhere on the internet so the server can be tested - glitch is an option.

But love my IDE too so I build it and tested it locally and then uploaded to where I was running the server. The important thing is having a working server running your code that can be accessed over the internet.

Ah, I misunderstood then. Thought it was checking solutions based on specific code in the different files. Not sure I have enough time to deploy on top of the work I have for my bootcamp.

Thanks for the help.

1 Like

Hello Kevin,

I would like to learn how to deploy my solution to my own website.
( https://www.3am-programming.com/ )

Is this something I can do while working through the section on APIs? Specifically, I am just starting “Introduction to the Managing Packages with npm Challenges”.

More specifically, I do not yet know how to set up a server on my website?
Is that something I can learn through this section on APIs?

–OR–
If I don’t know how to do these things, should I go ahead and work on Glitch as a way to learn what I need to do?

Does this question make sense?

Thank you for your help.

Bobby Jennings

1 Like

Well, your website is served by a server. It resides on a server. Whether or not they let you put your own there will depend on what they allow. If not, you can host the server somewhere like heroku or glitch and access with API calls - that’s what I’ve done. No one cares where you host them - just host them somewhere so they can see it in action and let them see the code (github).

If you really, really want to set up a server on your site, then you’ll need to check with your ISP. If you look at my site (code here) I have a directory where I have html/css/js for the strictly frontend apps, and for anything fullstack I just href to the site hosting it - in this case heroku.

1 Like

Hi Kevin,
I was wondering if you know what to do in this scenario.
I’m making my projects on Glitch and here i can export “Project Page”, “Live App”, “Code” links.
So for Solution i have and for Github Link i have ? is this a fair assumption seeing how the challenge lets me choose from Glitch or Github?

I don’t know Glitch. But the most important thing is that there is a link a working version of the project and the complete source code. That is what matters most.