Ifycode-extension / buuks-react-client

Client for @Ifycode's buuks API (react, typescript, tailwind css)
https://buuks.netlify.app
3 stars 0 forks source link

@Ifycode/buuks-react-client


Hosted on Netlify: https://buuks.netlify.app

#

Screenshot 2022-03-28 at 11 55 03 PM

This is the frontend client for the buuks-express-api, built with react, typescript and tailwind css. Through the app's user interface, an (authenticated) user to interact with a database made for storing books. The app is able to do the following:

Run client app in development

The buuks client app is created with create-react-app and therefore runs at localhost port 3000. Use the command below to start the client app in development:

yarn start

Connecting to backend/database in development

Add the line below in the client app's .env file to connect to the heroku backend deployment:

REACT_APP_BASE_URL=https://buuks-express-api.herokuapp.com

Alternatively, run the backend repo locally on your computer. Then use the localhost url you supplied as the API_HOST_URL from the backend's .env file, as the value for REACT_APP_BASE_URL in the client app's .env file.

Helpful resources