Code Monkey home page Code Monkey logo

pineapple-curry's Introduction

Pineapple Curry

Toy problems and drills!

Unmaintained now.

There's a reason for this repo's name.

JS and CSS

  • The master branch is a bunch of files with problems in them.
  • The solutions branch has all the same files, but with solutions (some of them with mulitple solutions).

Node and Express

  • There will be things in here that are completely unfamiliar. I strongly suggest keeping this open at first.
  • There's a directory of bare Node (no Express/Koa/Hapi/whatever framework) problems.
  • There's a handful of Express drills.
  • The Mongo directory contains some reading material and problems for MongoDB and Mongoose.
  • You'll touch on ES2015 going through these. It's time to exercies your Googling skillz!
    • Read up on let, const, and arrow functions.
    • You may need to upgrade Node. I highly recommend using n for this.
      • npm i -g n ; n latest ; npm i -g npm@next (might as well get the cool new features!)
  • Remember that programming in Node should almost always be done asynchronously.
    • requires are synchronous; almost everything else should be using callbacks.

Here's an example of a very simple Node program, using modern ECMAScript.

'use strict'

const port = process.argv[2] || process.env.PORT || 5678
const { createServer } = require('http')

createServer((req, res) => {
  res.end('hi', 200)
}).listen(port)

This is a lot of new material all at once. Do what you're comfortable doing. If you're looking for something to do over interim week, maybe do some research and try to finish the rest.

Have fun!

Mongo

  • Still working on this.

React

  • For the moment, just imagine there's an index.html with a div you can target, and your build system is already taken care of for you.
  • WebpackBin is a good environment for testing out React ideas (it's like a JSBin that lets you use modules).

Contributing

PRs, issues, and suggestions welcome.

If contributing code, please ensure you are following the editorconfig and eslintrc. Your code will be reformatted if not.

pineapple-curry's People

Contributors

zacanger avatar gobd avatar

Watchers

James Cloos avatar Alex Tingey 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.