Skip to content

Commit 1842d27

Browse files
committed
git rm cache submodule
1 parent df58bee commit 1842d27

File tree

21 files changed

+7669
-1
lines changed

21 files changed

+7669
-1
lines changed
Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
25+
26+
# Bower dependency directory (https://bower.io/)
27+
bower_components
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (https://nodejs.org/api/addons.html)
33+
build/Release
34+
35+
# Dependency directories
36+
node_modules/
37+
jspm_packages/
38+
39+
# TypeScript v1 declaration files
40+
typings/
41+
42+
# Optional npm cache directory
43+
.npm
44+
45+
# Optional eslint cache
46+
.eslintcache
47+
48+
# Optional REPL history
49+
.node_repl_history
50+
51+
# Output of 'npm pack'
52+
*.tgz
53+
54+
# Yarn Integrity file
55+
.yarn-integrity
56+
57+
# dotenv environment variables file
58+
.env
59+
60+
# next.js build output
61+
.next
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Node API 2 Guided Project Starter Code
2+
3+
Guided project starter code for **Node API 2** module.
4+
5+
In this project we will learn how to create a very simple Web API using `Node.js` and `Express`, and cover how to use `Express Routers` to break up the application to make it more maintainable.
6+
7+
## Prerequisites
8+
9+
- a REST client like [insomnia](https://insomnia.rest/download/) or [Postman](https://www.getpostman.com/downloads/) installed.
10+
11+
## Project Setup
12+
13+
- [ ] fork and clone this repository.
14+
- [ ] **CD into the folder** where you cloned **your fork**.
15+
- [ ] type `npm i` to download dependencies.
16+
17+
Please follow along as the instructor builds the API step by step.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
const express = require("express");
2+
3+
const hubsRouter = require("../hubs/hubs-router.js");
4+
5+
const router = express.Router();
6+
7+
// this router handles requests beginning in /api
8+
9+
// handle /api /hubs
10+
router.use("/hubs", hubsRouter);
11+
// router.use("/accounts", accountsRouter);
12+
13+
module.exports = router;

0 commit comments

Comments
 (0)