Be grateful in life 🙏, it can always get worse 😰
Explore the docs »
View Demo
Above we see the home page of the app. Subscribe in it and you will receive random boxes in your home, with many sort of items varying from teas to organic products.
You will not choose the item, but you can always choose to be grateful for what you have received!
- npm
- Clone backend repo
git clone https://github.com/cybalencar96/gratibox-back.git
- Install dependencies executing comand in root
npm i
- Clone frontend repo in a different folder
git clone https://github.com/cybalencar96/gratibox-front.git
- Install frontend dependencies executing command in root
npm i
- Create a .env.development file in frontend root folder with following variable and value
REACT_APP_SERVER_URL=http://localhost:4000
- Create a .env.dev file in backend root folder with following variables
DB_USER
DB_HOST
DB_PASS
DB_PORT
DB_NAME
- Create a postgres database and fill .env.dev with database credentials
DB_USER=postgres
DB_HOST=localhost
DB_PASS=123456
DB_PORT=5432
DB_NAME=gratibox
- Run (copy & paste) the dump.sql statements in database
- Start backend server
npm run dev
- Start frontend
npm start