Skip to content

Instantly share code, notes, and snippets.

@nsipplswezey
Last active May 27, 2016 01:55
Show Gist options
  • Save nsipplswezey/be6ba7414b72d83978a099f8f6bad973 to your computer and use it in GitHub Desktop.
Save nsipplswezey/be6ba7414b72d83978a099f8f6bad973 to your computer and use it in GitHub Desktop.
live-react-docs-nodal

#live-react-docs

Introduction

What is Nodal JS?

Nodal is a nodejs library paired with a command line interface for building API servers. Another name for this is a microframework. Nodal's aim is to get barriers out of the way so that engineers can build product faster.

What are we doing?

Your mission is to use Nodal to turn react's live coding examples into 4 fully functional mini single page applications.

React is a framework for views that need data. Nodal is a framework for building APIs that serve data. We can combine to two to make lean focused single page applications.

What's in the repo already?

Nothing! No repo! You get a live coding react environment that needs an API built for it. Everything is broken! Go fix it! That's it!

http://nsipplswezey.github.io/nodal/

Installing Dependencies

npm install -g nodal

You'll also need a live postgres server on your machine. The fastest way to set that up is with Postgres App. If you want instructions on how to set Postgres up with brew, see the end of this tutorial my Jefri Vanegas: http://intro-nodal.surge.sh

We also recommend that you try Postman for making API requests.

Basic Requirements

http://nsipplswezey.github.io/nodal/

  • Create a new user every time the page loads, and say hello to your new user!

  • Authenticate your new user with a token, and start tracking how long its been since they authenticated

  • Allow the logged in user to create a persistent todo list

  • Allow the logged in user to create a persistent mini blog that renders in markdown

Extra Credit

  • Write a TL;DR for your Nodal API server on your medium profile.

  • Email me your TL;DR and I'll run through it and give you feedback. Ship early. Ship often.

Resources

Nodal TL;DRs https://medium.com/@nsipplswezey

Nodal Author Screencasts+Blog Posts Part 1: https://nsipplswezey.github.io/2016/04/08/Nodal-JS-Part-1-Version-2.html

Nodal Author Screencasts+Blog Posts Part 2: https://nsipplswezey.github.io/2016/05/04/Nodal-JS-Part-2.html

Nodal Tutorial http://nsipplswezey.github.io/nodal/docs/tutorial.html

Nodal Gitter Channel https://gitter.im/keithwhor/nodal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment