Backend service for HH Auto (Travnik), a local car dealership.
Currently, this backend provides basic API route references.
- Root endpoint:
GET /Returns JSON with links to available endpoints:
{
"allProducts": "/api/products",
"oneProduct": "/api/products/id"
}- All products (planned):
/api/products - Single product by ID (planned):
/api/products/:id
- Node.js / Express
- Clone the repository:
git clone https://github.com/amer-5/hh-auto-backend.git- Install dependencies:
npm install
# or
yarn install- Run development server:
npm run dev
# or
yarn dev