Marketplace Application - Functional Documentation
Visit the production version here: Marketplace
This is the backend for a marketplace, implemented using Node.js, Express, and TypeORM. This backend provides APIs to handle operations related to sellers and other marketplace resources.
Before getting started, make sure you have Node.js installed on your system. This project also uses PostgreSQL as the database system, so you need to have PostgreSQL installed and properly configured.
To install and set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/salvadormartin3z/Marketplace-Backend.git cd Marketplace-Backend
-
Install the dependencies:
npm install
-
Set up environment variables: Create a .env file in the root of the project with the following environment variables necessary for the database connection and other important configurations.
DATABASE_URL=postgresql://your_user:your_password@your_host:your_port/your_database?ssl=true
JWT_SECRET=exampleSecretToken
Note: For security reasons, the .env file is not included in the repository and should not be shared. Each developer or user deploying the project must create their own .env file.
-
Start the server:
npm start
-
You will also need to install and set up the project's frontend for full functionality:
- Frontend: Frontend en GitHub
You can find and contact me through the following platforms:
- Portafolio: Salvador Martínez - Portafolio
- LinkedIn: Salvador Martínez en LinkedIn
- GitHub: Salvador Martínez en GitHub
If you want to contribute to the project, consider forking the repository and submitting your pull requests. You can also open issues if you find any problems or have suggestions for improvements.
This project is licensed under the MIT License. See the LICENSE file in this repository for more details.