Skip to content

hgapson/WRF

Repository files navigation

Boilerplate: Fullstack with TailwindCSS

Setup

What's included

This repo includes:

  • a single, simple API endpoint (/api/v1/fruits)
  • a single React component (<App />)
  • an example database module (server/db/fruits.js)
  • an API client module (client/apis/fruits.js)
  • configuration for Vitest and testing library
  • configuration for server-side debugging in VS Code
  • configuration for preprocessing TailwindCSS

Installation

From the Github UI

See the instructions here to use Github's feature to create a new repo from a template.

From the command line

git clone https://github.com/dev-academy-challenges/boilerplate-fullstack [your-project-name]
cd [your-project-name]
npm install # to install dependencies
npm run dev # to start the dev server

You can find the server running on http://localhost:3000 and the client running on http://localhost:5173.


Provide feedback on this repo