Skip to content

pchinjr/boilerplate-express

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend Challenges Boilerplate - Basic Express

experimental serverless deploy

Using Architect (arc.codes), move entire app into get-index, this is not suggested best practice if total payload is over 5MB, but showing proof of concept. In order to do it, I moved server.js into get-index/index.js and running the Express instance with @architect/functions helper method, arc.http.express(). The port is set manually to 3000 to allow the FCC tester access to the underlying server.

So to review: This is a mega Lambda function, with 2 express instances running in it. The main process is for FCC to test against, and the second is the app that it is testing. Wild.

Check out the original challenge here: https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/

About

A boilerplate for the freeCodeCamp curriculum.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.8%
  • HTML 12.2%
  • CSS 6.0%
  • Arc 2.0%