Skip to content

Nguyanh/final-project-snack-match

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mern-tailwind-vivid-starter

A starter repository with React, Tailwind, Vivid, and Express set up

Getting Started

This repository contains both an Express backend (within api) and a React frontend (within client). To get started, clone the repository. Navigate to your terminal and execute the following command.

git clone https://github.com/vivid-labs/mern-tailwind-vivid-starter.git

In order to have a fully functional web app, you'll need to run both the frontend and the backend simultaneously.

Starting the frontend

From the root of the repository, you'll need to enter the client folder, install the necessary dependencies, and run the app.

cd client
#If you don't already have yarn
npm install --global yarn
yarn install
yarn start

Navigate to localhost:3000 to see the running app. You'll notice that the Express status will state "Currently down." It will remain that way until you start the backend.

Starting the backend

From the root of the repository, you'll need to enter the api folder, install the necessary dependencies, and run the server.

cd api
yarn install
yarn start

Navigate to localhost:9000/testAPI to see the results of the /testAPI route. If you refresh your localhost:3000 tab, your Express status should change.

Styling with Vivid

Vivid lets you style with Tailwind in your browser. Cmd-Click (Windows: Ctrl) on any component to see its code. Check out Vivid's docs for a guide to its full functionality.

About

final-project-snack-match created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.7%
  • CSS 7.4%
  • HTML 5.3%
  • Pug 0.6%