A simple but wonderful application for you to express your gratitude. Subscribe and receive at home wonderful products to keep yourself grateful.
Tools that were used in the project:
To run locally follow the steps
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- Create the root folder named gratibox and access it
mkdir gratibox && cd gratibox
- Clone the frontend repo
git clone https://github.com/cgabrieu/gratibox-frontend.git
- Install dependencies with npm
npm install
- Clone the backend repo
git clone https://github.com/cgabrieu/gratibox-backend.git
- Install dependencies with npm
npm install
- Create a database using the command below via postgres
CREATE DATABASE gratibox;
-
Automatically create all necessary tables to backend repo with dump.
-
Connect your backend to the database, for that, rename the .env.example to .env.dev and fill in your data.
- Run the frontend using the command (remember to be on the backend repo):
npm run start:dev
- Run the frontend using the command (remember to be on the fronend repo):
npm start