Skip to content

SenSeTioN/fullstackReactApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Fullstack ReactApp

Stack

SASS TypeScript React Yarn Git VSCode Express Express Tailwind

Project launch

1️⃣ Clone repo.
2️⃣ Run yarn in the project directory backend.
3️⃣ Create .env file based, fill required fields DATABASE_URL= postgresql://username:password@localhost:port/name?schema=public

username - your username or postgres by default

password - password (superuser)

port - your port or 5432 by default

name - name directory

4️⃣ Run console npx prisma migrate dev --name init.
5️⃣ Start development server by running yarn dev.
6️⃣ Visit http://localhost:5000/. The application should be up & running.


1️⃣ Run yarn in the project directory frontend.
2️⃣ Start development server by running yarn dev.
3️⃣ Visit http://localhost:5173/. The application should be up & running.

Available Scripts

Run in the project directory:

yarn

Installs all dependencies.

yarn dev

Runs the app in the development mode. Open http://localhost:5173 to view it in your browser.
The page will reload when you make changes. You may also see any lint errors in the console.

yarn build

Builds the app for production to the dist folder.
It bundles React in production mode. The build is minified and the filenames include the hashes.