Note: Completed one task PR one.
Fork this repo
git clone project
cd project
# Create env for local development
cp .env .env.local
# API URL docs
# https://blogserver.fly.dev/docs
yarn
Style this project anything you want.
All interface is in the api docs
Tasks:
- Setup project
- Setup api base url with
axios - Setup routes with
react-router-dom - Setup auth context
- Setup Protected Route
- Create pages
- Login
- Register
- Not found
- Loading
- Home
- Posts
- New Post
- Show Post
- Edit Post
- List Posts
- Public
- Draft
- Show when user login
- Delete own post
- Publish and unpublish own post
Happy hacking! 🥳