- This is a server-only API designed to teach the beginnings of node, express, RESTful APIs, and HTTP Transactions
- There is no front end here: just a server and a .JSON file for data storage
- Node: Make sure you have node installed on your system. Go to the command line/prompt and enter
node -v
to confirm its presence and version- If you don't have node, go here: https://nodejs.org/en/ and download the LTS version
- Postman: Download the desktop client from here: https://www.getpostman.com/
- A text editor: Just choose one. Here are some ideas:
['Atom', 'SublimeText', 'Vim', 'VSCode']
- If you'd like to download a ZIP file
- Change current branch from
master
tostart-workshop
- unzip contents and move to your code directory
- Recommended: clone the repo via git cli
cd <YOUR CODE DIRECTORY>
git clone https://github.com/tr00gle/scallion-recipe-management.git
cd
to the scallion project direcotrynpm install
- Open directory in code editor of your choice
- If you took option 2, checkout the
start-workshop
branch
- Get setup
- Write your "Hello, Scallions!" application
- Write your
GET /recipes
route, and use your first middleware - Write your first
POST /recipes
route, and now experience the power of using a middleware chain - Complete the CRUD quad-fecta!
- Tinker away! Start by expanding on editing an existing recipe!
- tests using node assertions