GithubHelp home page GithubHelp logo

marketplace-back-end's Introduction

Marketplace Back-End with Express.js

This was Desafio Latam's last exam

View Demo · View full page

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

About The Project

Product Name Screen Shot

This API RESTful was the back-end of a project as the middle man between the front-end and the PostgreSQL database.

Functions:

  • Products: All of them, in detail and the ones that the user uploaded.
  • Fav Products: Wishlist, that's it.
  • User: Create User and Login, including Google OAuth 2.0
  • Orders: All about purchasing and updating the status of an order.

(back to top)

Built With

  • Node
  • Express
  • Swagger
  • PostgreSQL
  • JWT
  • Jest

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Installation

  1. Create a S3 bucket
  2. Clone the repo
    git clone [email protected]:Rydozz15/marketplace-back-end.git
  3. Install PNPM packages
    pnpm install
  4. Enter your .env in and write down this AWS Credentials aspects
    AWS_S3_BUCKET_REGION=us-west-2
    AWS_ACCES_KEY_ID=YOUR_ACCESS_KEY_ID_PLACEHOLDER
    AWS_SECRET_ACCES_KEY=YOUR_SECRET_ACCESS_KEY_PLACEHOLDER
    AWS_BUCKET_NAME=YOUR_BUCKET_NAME_PLACEHOLDER
  5. Run the scema.sql inside config>db
    psql -U <user> -a -f <route>
  6. Enter your .env in and write down your database credentials and the port
    DB_HOST=
    USER_DB=
    PASSWORD_DB=
    NAME_DATABASE=
    PORT=
  7. In the samae fil in JWT_SECRET add yoout secret code to encrypt.
  8. Enjoy!

(back to top)

Usage

You can connect your Front-End and use this as an example, or play with it on Swagger. Example Front-End

(back to top)

License

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

(back to top)

Contact

Juan Pablo Fuentes - [email protected]

(back to top)

Acknowledgments

Thanks to my team

  • Sabastián, Paula and Gabriel

(back to top)

marketplace-back-end's People

Contributors

rydozz15 avatar sebasttian9 avatar

Watchers

 avatar

Forkers

sebasttian9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.