Skip to content

Latest commit

 

History

History
93 lines (72 loc) · 2.54 KB

README.md

File metadata and controls

93 lines (72 loc) · 2.54 KB

Gratibox 😊

This is the frontend repo, access the backend repo here.


View the deploy

About

A simple but wonderful application for you to express your gratitude. Subscribe and receive at home wonderful products to keep yourself grateful.


Technologies

Tools that were used in the project:


Getting Started

To run locally follow the steps

Prerequisites

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

Installation

  1. Create the root folder named gratibox and access it
mkdir gratibox && cd gratibox
  1. Clone the frontend repo
git clone https://github.com/cgabrieu/gratibox-frontend.git
  1. Install dependencies with npm
npm install
  1. Clone the backend repo
git clone https://github.com/cgabrieu/gratibox-backend.git
  1. Install dependencies with npm
npm install
  1. Create a database using the command below via postgres
CREATE DATABASE gratibox;
  1. Automatically create all necessary tables to backend repo with dump.

  2. Connect your backend to the database, for that, rename the .env.example to .env.dev and fill in your data.

How to run

  1. Run the frontend using the command (remember to be on the backend repo):
npm run start:dev
  1. Run the frontend using the command (remember to be on the fronend repo):
npm start

Developer