/week4-blog-SMCJ

Week 4: Servers - a place to write your random twaddle

Primary LanguageJavaScript

Twaddle

FAC21 Week 4: Servers

🌐 See our blog site at fac21-twaddle.herokuapp.com/

To run this app locally:

  • clone the git repo
  • run npm install
  • run npm run dev and follow the link in the terminal to localhost:3000.

Roles: 🧠

  • Deployment: Team
  • User: Team
  • Facilitator: Team
  • Quality: Team

Features:

  • Submit new blog entries
  • See other user's blog entries
  • Delete others' blog posts

image

Work Process:

  1. Set up of node, npm, cypress, express
  2. Write simple tests for cypress
  3. Create route for homepage
  4. Create route for adding a blogpost
  5. Functionality for delete post
  6. Write tests for all routes
  7. Deploying onto Heroku
  8. CSS layout/design

Acceptance Criteria

  • A page with a form to submit posts, and a page showing all posts ✔️
  • No .html files (all HTML responses should be created dynamically within Node) ✔️
  • No client-side JavaScript (all logic should happen on the server) ✔️
  • All static assets served correctly (CSS, favicon etc) ✔️
  • Tests for each server route ✔️
  • A responsive, mobile-first design ✔️
  • Ensure your app is accessible to as many different users as possible ✔️

Accessibility

image