Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

⚡ VOLT — Магазин техники

Быстрый старт

1. База данных (PostgreSQL)

CREATE DATABASE online_store;

2. Сервер

Открой server/.env и заполни свои данные:

PORT=8000
DB_NAME=online_store
DB_USER=postgres
DB_PASSWORD=твой_пароль
DB_HOST=localhost
DB_PORT=5432
SECRET_KEY=любая_секретная_строка

Затем:

cd server
npm install
npm run dev

3. Клиент

Открой client/.env — по умолчанию уже настроен на localhost:

VITE_API_URL=http://localhost:8000/

Затем:

cd client
npm install
npm run dev

Открывай http://localhost:5173 🚀

Структура

volt/
├── client/   ← React + Vite + MobX (фронт)
└── server/   ← Node.js + Express + PostgreSQL (бэк)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages