Skip to content

vivitali/Jarvis-admin

Repository files navigation

react-native-node

MySQL:

CREATE DATABASE reactnativess; CREATE DATABASE reactnativesstest;

npm i
npm start - start backend;
npm run dev:frontend - start frontend;

http://localhost:3000/ - backend http://localhost:3001/ - frontend

Docker & MySQL (optional if you don't want to install MySQL)

initially:

run docker

docker build -t koriifua/mysql-react-native .

docker run -p 3306:3306 -d koriifua/mysql-react-native

regularly:

docker start <your container id>

docker stop <your container id>

localhost:3306 - MySQL here

Db-migrate:

create migration: node ./node_modules/db-migrate/bin/db-migrate create test --config ./src/configs/config.json -m ./src/migrations

run migrations: npm run mup

down migrations: npm rum mdown

ENV VARS

PRIVATE_KEY - google sheet api key
CLIENT_EMAIL - google sheet service email
SPREAD_SHEET_ID - google spreadsheet id

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages