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.
Run in the project directory:
Installs all dependencies.
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.
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.