React + Typescript frontend for blog websites, created with vite Designed to work with blogging-api: https://github.com/PiraTechnics/blogging-api
Vite.js React Typescript (.tsx files) TailwindCSS
Prerequisites:
- .env local variable:
VITE_API_URL
See Vite Docs for more on env requirements: https://vitejs.dev/guide/env-and-mode
Setup & Installation:
- Clone/Fork repository and cd into directory
- run
npm install
to install all dependencies - Create .env file
touch .env
and fill in local variables - Run application with
npm run dev
(default uri:port is http://localhost:5173/)
Written for Project: Blog API, The Odin Project: https://www.theodinproject.com/lessons/nodejs-blog-api
Thanks to the tireless community of developers and teachers for all you do.
- User stays logged in after token expires server-side. This is undesirable and causes strange behavior when attempting to access protected routes
- Viewing and/or editing of drafts not yet implemented. Will 404 instead
- Routes are not currently nested, leading to inconsistent error behavior
- Posts cannot currently be deleted (no UI/handling yet implemented)