Skip to content

edgartellom/Mitsumichi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

MITSUMICHI APP

by Los Lobos del Javascript

    Create local PostreSQL DB (mitsumichi):

  • psql -U DB_USER (postgres)
  • Input your DB_PASSWORD
  • CREATE DATABASE mitsumichi;

    Create .env file in api folder & add variables as following :

    Ask for empty variables to us!

  • DB_USER=[YOUR_DB_USER]
  • DB_PASSWORD=[YOUR_DB_PASSWORD]
  • DB_HOST=localhost
  • PORT=3001
  • DB_DEPLOY=
  • SENDGRID_API_KEY=

    Create .env file in client folder & add variables as following :

    Ask for empty variables to us!

  • VITE_REACT_APP_URL_BACKEND=
  • VITE_REACT_APP_CLOUDINARY_CLOUD_NAME=
  • VITE_REACT_APP_CLOUDINARY_UPLOAD_PRESET=mitsumichi

    Install dependencies & run from api folder (backend) :

  • cd api
  • npm i
  • npm start

    Install dependencies & run from client folder (frontend) :

  • cd client
  • npm i
  • npm run dev
  • Run production build (client/dist):
  • npm run build