Giter VIP home page Giter VIP logo

learn-node's Introduction

Learn Node Starter Files + Stepped Solutions

These are the starter files and stepped solutions to accompany the LearnNode.com course.

You'll start your application in the starter-files directory — feel free to rename it.

If you need help, each folder number corresponds with where you should be at the start of a video. So if you are having trouble with video 24, look to video 25 for the answer.

The stepped solutions are meant for you to apply on top of your existing code - they don't stand on their own.

Not all videos have a solution as their changes aren't significant enough.

Getting Help

Need some help? Want to chat with the other learners? The Slack Chat that accompanies this course is where you should be asking questions — this repo is meant as a place to grab the starter files and isn't a support channel.

Pull Requests

If you found a different / better way to solve problems in the application, great! These files are meant to be as close to 1:1 as they are shown in the videos so I generally won't accept any pull requests for changing how the application functions.

Glaring errors, clarifications and files that aren't shown in the videos are totally fair game for pull requests and are appreciated.

Enjoy!

FAQ

The Google Maps API key isn't working

The course might have hit a limit with the API key — if this is the case you need to sign up for your own API key over at https://developers.google.com/maps/documentation/javascript/usage. You will need to enable static maps for your API key. Here is a quick video on how to do this.

Once you have the API key, simply place it in your variables.env file and restart.

I'm getting errors related to /data/db like code:100 and connection failed

Check out this answer on stack overflow to get mongoDB running locally.

I'm getting a URIError: URI malformed error when running npm start

Thanks to Chris Ellinger for this:

If you’re getting a URIError: URI malformed error when running npm start, break out your environment variables. Go into variables.env and split the URI like this MONGO_URI=mongodb://host.com:port DB_USER=username and DB_PASS=password. Then inside your start.js replace mongoose.connect(process.env.DATABASE) with mongoose.connect(process.env.MONGO_URI, {user: process.env.DB_USER, pass: process.env.DB_PASS});. I had issues connecting to my mongodb because my password contained symbols.

learn-node's People

Contributors

alexstandiford avatar annuhdo avatar antibland avatar camjm avatar chasingsublimity avatar eduplessis avatar filiplaz avatar furey avatar gisaac85 avatar htmlandbacon avatar i3uckwheat avatar jacobarriola avatar kimkykie avatar madisonkanna avatar mikeybyker avatar mohitgarg avatar nechita avatar oli-laban avatar ostgals avatar palashmon avatar rcopeland avatar rileybracken avatar robvangroenewoud-philips avatar vladikoff avatar wesbos avatar zero-t4 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.