Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson 1 #52

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
> Scott Moss & Frontend Masters

- [Resources](#resources)
- [Requirements](#requirements)
- [Course](#course)
- [Excercises](#excercises)
- [Exercises](#exercises)
- [Hello world Express](#hello-world-express)
- [Routing](#routing)
- [Create Schemas](#create-schemas)
Expand All @@ -12,15 +13,29 @@
- [Testing](#testing)

## Resources
* [Slides](https://slides.com/scotups/api-design-in-node-with-express-v3/fullscreen)
* [Slides](https://slides.com/scotups/api-design-in-node-with-express-v3)
* [Nodejs](https://nodejs.org/en/)
* [Express](https://expressjs.com/)
* [MongoDB](https://www.mongodb.com/)

## Suggested Tools
The following are suggested to be installed on your machine before beginning the course
* [VSCode](https://code.visualstudio.com/)
* [Nodejs](https://nodejs.org/en/)
* [Yarn](https://yarnpkg.com/lang/en/docs/install/)
* [MongoDB](https://docs.mongodb.com/manual/administration/install-community/)
* [Insomnia](https://insomnia.rest/)
* [Nodemon](https://nodemon.io/)

## Course
This course has two parts, slides and excercises. The slides describe the excerices in detail. Each excercise has a starting branch and solution branch. Example `lesson-1` and `lesson-1-solution`.
## Excercises
This course has two parts, slides and exercises. The slides describe the exerices in detail. Each exercise has a starting branch and solution branch. Example `lesson-1` and `lesson-1-solution`.
## Exercises
** Important: Please check out to each exercise branch as the course progresses.

### Hello world Express

Note: Before running the tests for the exercise, ensure that mongoDB is running. Please run `mongo` in a new terminal.

* branch - `lesson-1`

In this lesson you'll be creating a simple Express based API in node, just to get your feet wet.
Expand All @@ -41,7 +56,7 @@ This exercise will have you creating routes and sub routers for our soon the be

### Create Schemas
* branch - `lesson-3`
* test command - `yarn test-model` or `npm run test-model`
* test command - `yarn test-models` or `npm run test-models`

In this exercise, you'll be taking what you learned about Mongoose and MongoDb to create a schema and model for the Item resource.

Expand Down Expand Up @@ -73,4 +88,4 @@ In this exercise you'll be locking down our API using JWT's.
- [ ] ensure all tests pass by running test command

### Testing
THe other resources don't have any test, go ahead and write some!
The other resources don't have any test, go ahead and write some!
Loading