This is the code repository for triveous e-commerce task API.
There are two methods two get started.
You can just enter the hosted link in the Postman app and get started.
Link: https://triveous-backend.onrender.com/
You can clone the repository to your local system and add a .env
file to the folder structure.
Your .env
file should look like this:
CONNECTION_URL = "your database connection link"
PORT = "your port number"
JWT_SECRET = "a secret key"
Then run the following commands to get started:
npm i
npm start
Visit the API routes documentation at /api-docs
Link: https://triveous-backend.onrender.com/api-docs/
Use the production server if using the hosted link
Use the development server if using the localhost