This week's focus will be on preparing for the Apprenticeship Phase by completing the Simple Bookstore from the Goal Library.
-
Build build a RESTful API using Express
- PUT
- POST
- GET
- DELETE
-
Utilize Fetch API to make HTTP requests
- Fetch Calls
- Complete Simple Bookstore Goal
-
Monday: Whiteboard & Capture
- Develop user workflow
- Establish naming conventions for functions
- Construct MVC file structure
- Establish schema tables and column names
-
Tuesday: Build
- Build developer environment
- Import dependencies and dev-dependencies via npm
- Implement MVC file structure
- Write database scripts for seeding, dropping, and creating
- Build schema in sql file
- Build database with PostgresQL
- Test database via Postico or command line
-
Wednesday: Write & Test
- Write and implement database functions in ES6 syntax
- Construct routes(GET, POST, PUT, DELETE) to connect client and server
- Write fetch calls using fetch API and promises
- Test functions and routes using Mocha Chai
-
Thursday: Build & User Test
- Design interface with HTML and CSS
-
Friday: Code Review
-
-
Watch YouTube Videos on Fetch
-
Rebuild UI with Templating Engine EJS