Codecast

Codecast

Share this post

Codecast
Codecast
A Full-Stack Project With React and FastAPI - Part 3

A Full-Stack Project With React and FastAPI - Part 3

Learn full-stack development with this weekend project!

Yash Prakash's avatar
Yash Prakash
Feb 08, 2023
∙ Paid

Share this post

Codecast
Codecast
A Full-Stack Project With React and FastAPI - Part 3
Share
Photo by Brooke Lark on Unsplash

Welcome to the Part 3 of this weekend project article series! Before getting started with this section of the tutorial, please do the following:

  1. Follow the tutorials in the  Part 1 and Part 2 of this series of articles below:

    Codecast
    A Full-Stack Project With React and FastAPI - Part 1
    Weekends are good fun and a great time to learn something new through the process of experimentation. Taking this to heart, I recently worked on a small project that was one of my early forays into building a full-stack project using with both backend and frontend frameworks…
    Read more
    2 years ago · Yash Prakash
    Codecast
    A Full-Stack Project With React and FastAPI - Part 2
    Welcome to the Part 2 of this weekend project article series! Before getting started with this section of the tutorial, please do the following: If you want to check out the rest of the series, please do so from here: Part 1: It will be good to become familiar with the Twitter API setup from here…
    Read more
    2 years ago · Yash Prakash
  2. Refer the React documentation as our frontend will be based on it.

If you’re here from Part 1 and 2, until now, we have done a basic project setup, created the structure with frontend and backend directories, setup Poetry and Git and installed our required libraries in the backend directory, and finally created the design of the project in Figma. Finally, we worked on the entire backend of our app, getting tweets from our Twitter API and returning them as a paginated response.

Now, let’s now dive deeper into building the frontend of our TweetLoader web app!


Setup React

We first go into client folder of our project root and create a new react app.

$ cd client 
$ npx create-react-app .

Follow the instructions and setup the app. We also want to add the react-paginate library for adding, you guessed it, pagination to our app.

$ npm i react-paginate

Installing tailwind can be done as follows:

$ npm install -D tailwindcss
$ npx tailwindcss init

Inside tailwind.config.js , add the following:

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Yash Prakash
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share