8000 GitHub - iboughtbed/nf-hw-3
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iboughtbed/nf-hw-3

Repository files navigation

This is an open source medium-alike app build with everything new in Next.js 14. It is bootstrapped with create-t3-app.

Medium

Tech Stack

Features to be implemented

NOTE: axios and dummyjson combo is killing me ahhaahh It's so inconvinient, I'd rather create my own api with my own schemas with react query

  • Fetch all posts using axios

  • Implement posts design on main page

  • Implement routing to detailed post page using dynamic routes

  • Create AuthContext that checks if the user is authenticated.

  • Sign in page

  • Passing auth token to axios request

  • Implement axios interceptor to pass auth token with requests

  • Handle API errors in axios interceptor response

  • Theme provider

  • CRUD for posts

Running Locally

  1. Clone the repository

    git clone https://github.com/iboughtbed/nf-hw-3.git
  2. Install dependencies using pnpm

    pnpm install
  3. Copy the .env.example to .env and update the variables.

    cp .env.example .env
  4. Start the development server

    pnpm run dev

Introduction

This is nFactorial Incubator homework for day 2

License

Licensed under the MIT License. Check the LICENSE file for details.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0