Skip to content

victorbadaro/launchstore

Repository files navigation

LAUNCHSTORE

LEIAME.md

Summary

🧾 About

This is a web application where the user can find the most common e-commerce features like: buy products, sell products, announce items and so on.

🚀 Main technologies

(You can see all the dependencies in the package.json file)

💻 Usage

As you can see on 🚀 Main technologies topic, this application depends on a PostgreSQL database, so you must have it installed.
First things first:

  1. Clone the project (you'll need a personal access token):

    git clone https://github.com/victorbadaro/launchstore
  2. Access its directory:

    cd launchstore
  3. Install its dependencies:

    npm install
    # feel free to use another package manager, but you might want use npm once there's already a package-lock.json file in the root directory
  4. Access your postgresql server

  5. Run each one of the 4 steps that are in the database.sql file

  6. Create an account and an inbox on mailtrap.io. You'll need the SMTP credentials to continue (username and password)

  7. Create a .env file in the root directory with the same content that is in the .env.example file and fill the variables with your own data:
    For example:
    image

  8. Run the seed file:

    npm run seed
  9. Start the server by running the dev script:

    npm run dev

🎉 Have fun! You are now an e-commerce owner!

This project was created and developed with ❤ by Victor Badaró