Skip to content

Instantly share code, notes, and snippets.

@mmyoji
Last active June 17, 2022 02:07
Show Gist options
  • Save mmyoji/7228bb2cf7da4b6ccdbd6531c50f2bf8 to your computer and use it in GitHub Desktop.
Save mmyoji/7228bb2cf7da4b6ccdbd6531c50f2bf8 to your computer and use it in GitHub Desktop.
TODO list when you create a playground app for new lang, framework or library

Create a playground App

TODO

  • App features:
    • public blog posts pages (anyone can see)
    • login / logout
    • create / update / delete for user's own posts
    • signed-in user can view their posts (include draft posts)
  • Unit tests
  • CI (formatting, linting, testing, library updates)

Optional

  • Error reporting (like Sentry)
  • E2E tests

API

Description Method Path
Login POST /session
Logout DELETE /session
Post list GET /posts
Create a post POST /posts
Update a post PATCH /posts/:id
Delete a post DELETE /posts/:id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment