Skip to content

Sharkri/blog-api

Repository files navigation

blog-api

From The Odin Project's curriculum

Assignment

Create an API only backend and two different front-ends. One for accessing and editing blog posts and the other for reading and commenting on blog posts

Learnings

The importance of returning back good JSON, it should be exactly what is needed and requested- nothing more.

The power an API can offer in terms of decoupling the backend and frontend eg: using a seperate CMS to add, update and delete posts & comments.

How to create and store JWT tokens and the flexibility they offer in terms of accessing an API

The importance of UseEffect in cleaning up async requests that are yet to be processed- avoiding memory leaks

Built using

  • Node and Express for API Backend
  • JWT tokens for authentication
  • MongoDB
  • React and Vite
  • API deployed using Render
  • Client deployed using GitHub Pages

License

This project is licensed under the MIT License

Releases

No releases published

Packages

No packages published