Skip to content

Modelo de E-commerce criado para praticar no curso Launchbase da rocketseat.

License

Notifications You must be signed in to change notification settings

MarioDoncel/Launchstore-Launchbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LAUNCHSTORE


Logo

Project developed at the Rocketseat - BOOTCAMP LAUNCHBASE.


MIT License LinkedIn


Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgments

About The Project

An e-commerce application where the registered users can buy and sell products. Its a great project where i praticed authentication, encrypt passwords, back-end and front-end validation, animations, MVC architeture, upload files, user session, sending emails, login and password recovery, how to introduce a shopping cart to an e-commerce, orders management, SQL queries and a lot of other cool stuff.

(back to top)

Built With

(back to top)

Objective

Project developed for educacional purposes.

(back to top)

Status

Finished.

(back to top)

Getting Started

Prerequisites

  • npm
    npm install npm@latest -g
  • PostgreSQL

Installation

  1. Clone the repo

    git clone https://github.com/MarioDoncel/Launchstore-Launchbase
  2. Install NPM packages

    npm install
  3. Run on PostgreSQL the queries that are in database.sql to create a database "launchstoredb" and all the tables necessary.

  4. Configure your access to database on src/config/db.js

    module.exports = new Pool({
       user: "postgres",
       password: "xxxxxx",
       host:"localhost",
       port: "5432",
       database: "launchstoredb"
     });
  5. If you want to populate your database with fake data to test the application you can run the command

    node seed.js
  6. Run the application

    npm start

(back to top)

Usage

  • HomePage - List of new products on platform

  • Users LogIn/Register/PasswordRecover Pages - Here you have the pages to user Login, Register and Recover Password.

  • Logged Users Home/AddProduct/Products/Orders/Sales Pages - Here you can see the pages available for logged user.
  • Producst Details/ShoppingCart/SendOrder Pages - Here you have the pages of product details, the shopping cart and the confirmations of a sent order.

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Mario Andres Doncel Neto

Email - 88mario.doncel@gmail.com
Whatsapp - +55 19 99612 9909

Project Link: https://github.com/MarioDoncel/Launchstore-Launchbase

(back to top)

Acknowledgments

(back to top)