Skip to content

valeriux/SEI-Project-04

Repository files navigation

GA - SEI - PROJECT-04 (Natural Products)

Screenshot 2019-07-12 at 04 55 06

Timeframe

  • 5 days (Solo project)

Technologies used

  • React
  • React-select
  • ReactMapBox-GL
  • Webpack
  • HTML5
  • SCSS
  • JavaScript (ES6)
  • Python
  • PostgreSQL
  • Flask
  • Git/GitHub
  • Bulma (CSS Framework)

Natural Products - Project

The brief was to build a full-stack application with a React front-end and PostgreSQL database. The application had to include data schema and a RESTful api framework to enable a user to register, login and add content.

The application is deployed via Git on Heroku and can be found here: Natura cosmetics

Installation

  • Clone or Download the repo and from the terminal run the following commands:

    • yarn to install JavaScript packages.
    • pipenv to install Python packages.
  • Next run:

    • yarn seeds to create the initial data for the database
    • yarn run:server - To launch the server
    • yarn run:client - To launch the front-end

Overview

Natura is a top cosmetic and recognized brand in Latin America. Currently they are more than 1,170 corporate business located in 37 countries. The company operates a network of 1.7 million sales consultants throughout the world.

At present in Peru, is not possible for people who want to acquire Natura products asap, be able to locate the places where they are sell and the availability of them.

Natural products application allows a user to register, login, add products, edit content, find Natura products’ location, search products and check availability.

Development Process

The project started with an entity-relationship diagram (ERD), was created my project's storyboards on powerpoint to baseline my scope to after that prioritize tasks on Trello.

Screenshot 2019-07-12 at 10 19 17

Before building the front end I tested the API endpoints using Insomnia.

Screenshot 2019-07-12 at 10 32 39

API endpoints

Endpoints were built out for:

  • Login and registration (POST)
  • Categories (POST and EDIT)
  • Products - (GET, POST, EDIT, DELETE)

Future enhancements

  • Add a shopping cart.
  • Add comments to products.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published