How to submit solutions using a repo on github

How to submit solutions using a repo on github
0.0 0

#1

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


#2

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.


#3

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.


#4

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


#5

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.


#6

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.